MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / setFrustum

Method setFrustum

Engine/source/gfx/gfxDevice.cpp:599–614  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

597}
598
599void GFXDevice::setFrustum( F32 left,
600 F32 right,
601 F32 bottom,
602 F32 top,
603 F32 nearPlane,
604 F32 farPlane,
605 bool bRotate )
606{
607 // store values
608 mFrustum.set(false, left, right, top, bottom, nearPlane, farPlane);
609
610 // compute matrix
611 MatrixF projection;
612 mFrustum.getProjectionMatrix(&projection, bRotate);
613 setProjectionMatrix( projection );
614}
615
616void GFXDevice::setFrustum( const Frustum& frust, bool bRotate )
617{

Callers 12

updateFaceMethod · 0.80
updateReflectionMethod · 0.80
renderSceneMethod · 0.80
~GFXFrustumSaverMethod · 0.80
_renderMethod · 0.80
_renderMethod · 0.80
calcLightMatricesMethod · 0.80
_renderToTextureMethod · 0.80
renderFrameFunction · 0.80
_internalRenderMethod · 0.80
renderWorldMethod · 0.80
renderGizmoMethod · 0.80

Calls 2

getProjectionMatrixMethod · 0.80
setMethod · 0.45

Tested by

no test coverage detected