Public Member Functions | |
__construct () | |
process (&$data) | |
getModelView () | |
getProjection () | |
setModelView (Matrix4x4 $m) | |
setProjection (Matrix4x4 $m) | |
Protected Attributes | |
$modelViewMatrix | |
$projectionMatrix |
Renderer::__construct | ( | ) |
Renderer::process | ( | &$ | data | ) |
Renderer::getModelView | ( | ) |
Return the model-view matrix.
Renderer::getProjection | ( | ) |
Return the projection matrix.
Renderer::setModelView | ( | Matrix4x4 $ | m | ) |
Set a new model-view matrix.
$m | Matrix used for converting vectors from object space to camera space. |
Renderer::setProjection | ( | Matrix4x4 $ | m | ) |
Set a new projection matrix.
$m | Matrix used for projecting vectors from camera space to screen space. |
Renderer::$modelViewMatrix [protected] |
Matrix used for converting vectors from object space to camera space.
Renderer::$projectionMatrix [protected] |
Matrix used for projecting vectors from camera space to screen space.