MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / GetProjMatrix

Method GetProjMatrix

Source/Graphics/camera.cpp:871–877  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

869}
870
871mat4 Camera::GetProjMatrix() {
872 mat4 proj_mat;
873 for (int i = 0; i < 16; ++i) {
874 proj_mat.entries[i] = (float)projection_matrix[i];
875 }
876 return proj_mat;
877}
878
879void Camera::SetAutoCamera(bool val) {
880 auto_camera = val;

Callers 15

DrawMethod · 0.80
DrawMethod · 0.80
DrawMethod · 0.80
DrawCollisionMethod · 0.80
DrawNavMeshMethod · 0.80
DrawGPUParticleFieldFunction · 0.80
DrawMethod · 0.80
DrawBillboardFunction · 0.80
DrawMethod · 0.80
DrawVertMethod · 0.80
DrawVertColorMethod · 0.80
DrawMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected