1 | initial version |
I do this as part of the mapping3d module I"m making.
The relevant code is HERE.
Note that the LOS variable initially starts as the LOS from position (0,0,0) with no rotations. To get the LOS in another frame you have to apply the camera->frame rotation, which you can also see an example of.
2 | No.2 Revision |
I do this as part of the mapping3d module I"m making.
The relevant code is HERE.
Note that the LOS variable initially starts as the LOS from position (0,0,0) with no rotations. To get the LOS in another frame you have to apply the camera->frame rotation, which you can also see an example of.of in lines 217-221.