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

Method SceneCameraState

Engine/source/scene/sceneCameraState.cpp:31–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29//-----------------------------------------------------------------------------
30
31SceneCameraState::SceneCameraState( const RectI& viewport, const Frustum& frustum, const MatrixF& worldView, const MatrixF& projection )
32 : mViewport( viewport ),
33 mFrustum( frustum ),
34 mWorldViewMatrix( worldView ),
35 mHeadWorldViewMatrix( worldView ),
36 mProjectionMatrix( projection )
37{
38 mViewDirection = frustum.getTransform().getForwardVector();
39}
40
41//-----------------------------------------------------------------------------
42

Callers

nothing calls this directly

Calls 2

getForwardVectorMethod · 0.45
getTransformMethod · 0.45

Tested by

no test coverage detected