Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Any math guru's out there?
November 21, 2004, 7:27 am
rate this thread
alt.php and alt.comp.lang.php. I wound up entering alt.comp.lang.php
twice instad -- apologees for the seperate entries *
I am not good at math, if you can find a dumbed down tutorial on this
I'd appreciate it. I am trying to come up with a function that will
find the distance between two points within a cube.
The function eventually will be fed three co-ordinates, x y & z.
Point 1 could be 290 : 195 : 132
Point 2 could be 136 : 201 : 8
Has anybody done this before? If so can you throw this poor dog a bone,
I can code PHP and anything just fine, alas my poor math is letting me
down on this one. (I've checked out the math functions in PHP hoping
this had already been done to no avail).