MCPcopy Create free account
hub / github.com/davideberly/GeometricTools / SetPostProjectionMatrix

Method SetPostProjectionMatrix

GTE/Graphics/Camera.cpp:30–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30void Camera::SetPostProjectionMatrix(Matrix4x4<float> const& postProjMatrix)
31{
32 mPostProjectionMatrix = postProjMatrix;
33 mPostProjectionIsIdentity = (mPostProjectionMatrix == Matrix4x4<float>::Identity());
34 UpdatePVMatrix();
35}
36
37bool Camera::GetPickLine(int32_t viewX, int32_t viewY, int32_t viewW, int32_t viewH, int32_t x, int32_t y,
38 Vector4<float>& origin, Vector4<float>& direction) const

Callers 2

CreateSceneMethod · 0.80
OnCharPressMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected