* I originally intended to cross post to comp.lang.php as well as
alt.php and alt.comp.lang.p hp. I wound up entering alt.comp.lang.p hp
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).
J
alt.php and alt.comp.lang.p hp. I wound up entering alt.comp.lang.p hp
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).
J
Comment