Go to the source code of this file.
Data Structures | |
struct | transinfo |
Rotation and translation information for transformations. More... | |
struct | lightinfo |
Direction and intensity information for parallel lighting. More... | |
Functions | |
Mat44 | Render_MakeObjectToWorld (transinfo transform) |
Create an object->world matrix. | |
Mat44 | Render_MakeWorldToCamera (float camerapos) |
Create a world->camera matrix. | |
Mat44 | Render_MakeCameraToScreen () |
Create a camera->screen matrix. | |
Mat44 | Render_MakeLightMatrix (lightinfo lights, Mat44 objecttoworld) |
Create a matrix containing directional lighting information. |
|
Create a camera->screen matrix. The camera->screen matrix is scaled to the current screen resolution.
|
|
Create a matrix containing directional lighting information. The light matrix returned by this function is compatible with the VU lighting code.
|
|
Create an object->world matrix.
|
|
Create a world->camera matrix. The camera is assumed to be looking directly along the z-axis (x = 0, y = 0).
|