(0001108 - 818 - 854 - 854 - 854 - 854 - 854)
bert
01-28-05 17:22
|
Also, a tiny bit of documentation would be nice regarding what the difference of pointer, currentPointer and selectedPointer is in TUserCamera. This is what I got from RTFC:
CurrentPointer is set to the camera's normal pointer before rendering each frame. When rendering an overlay containing that overlay's camera's pointer the currentPointer is set to the camera pointer of the overlay. SelectedPointer is the one that was current when the red mouse button went down, it is reset to nil on red button up.
So currentPointer is the pointer of where the mouse was in this frame, whereas selectedPointer is the one used in an down-move-up transaction. Is that correct?
I just can't figure out the code in mouseMove:/mouseUp: that is, when and why currentPointer vs. selectedPointer vs. pointer is used there ... |