GLBasic User Manual

Main sections

X_WORLD2SCREEN

X_WORLD2SCREEN wx#, wy#, wz#, sx##, sy##, sz##



Converts 3D coordinates to 2D screen coordinates using the current camera matrix.
Note: In order to use the 2D coordinates you must call X_MAKE2D first.

sz# indicates if the 3D point is in front of the camera position (sz<0) or behind it (sz>0)

See also...