MCPcopy Create free account
hub / github.com/carbonengine/trinity / SetProjectionTransform

Method SetProjectionTransform

trinity/Tr2Renderer.cpp:458–465  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

456}
457
458void Tr2Renderer::SetProjectionTransform( const Matrix& proj, const Matrix& viewportAdjustment )
459{
460 s_currentProjectionType = PT_UNKNOWN;
461 s_projectionTransform = proj;
462 s_viewport2projectionAdjustment = viewportAdjustment;
463 UpdateProjectionParameters( proj );
464 SetProjectionDerivedValues();
465}
466
467const PROJECTION_TYPE Tr2Renderer::GetCurrentProjectionType()
468{

Callers

nothing calls this directly

Calls 2

Tested by

no test coverage detected