GLBasic User Manual

Main sections

X_SCREEN2WORLD

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



Maps the 2D screen coordinates sx#, sy# into the 3D world coordinates wx##, wy##, wz##.
sz# indicates if the 3D point is in front of the camera position (sz<0) or behind it (sz>0)

See also...