* Changed the names of some of the functions * Added functions for setting and returning the projection matrix of the active camera * Added a function for getting the 2D screen coordinates from a 3D vector * Added documentation for all the new functions
13 lines
280 B
Plaintext
13 lines
280 B
Plaintext
#title GetProjectionMatrix [RCBasic Doc]
|
|
#header Sub GetProjectionMatrix(matA)
|
|
|
|
Gets the camera projection matrix for the active canvas
|
|
|
|
Possible values for projection_type
|
|
#list ul
|
|
#li PROJECTION_TYPE_ORTHOGRAPHIC
|
|
#li PROJECTION_TYPE_PERSPECTIVE
|
|
#/list
|
|
|
|
#ref SetProjectionMatrix
|