1 registered members (TedMar),
1,420
guests, and 3
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: mouse coordinates
[Re: VeT]
#277506
07/09/09 12:51
07/09/09 12:51
|
Joined: Oct 2004
Posts: 4,134 Netherlands
Joozey
Expert
|
Expert
Joined: Oct 2004
Posts: 4,134
Netherlands
|
Just as a side note I forgot to add, I was clumsying around getting it to work but it was acting weird all the time, while in my head the calculations were right. Turned out temp2_pos.z wasn't at 0 (because VECTOR temp2_pos; doesn't initialise its members (x, y, z) to 0, but leaves it with some random pointer address), so vec_dist returned a very awkward value. Setting temp2_pos.z to 0 helped alot .
Click and join the 3dgs irc community! Room: #3dgs
|
|
|
|