MCPcopy Create free account
hub / github.com/TheRealMJP/DeferredTexturing / CreateProjection

Method CreateProjection

SampleFramework12/v1.00/Graphics/Camera.cpp:144–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142}
143
144void OrthographicCamera::CreateProjection()
145{
146 projection = Float4x4(XMMatrixOrthographicOffCenterLH(xMin, xMax, yMin, yMax, nearZ, farZ));
147 viewProjection = view * projection;
148}
149
150void OrthographicCamera::SetMinX(float minX)
151{

Callers

nothing calls this directly

Calls 1

Float4x4Class · 0.85

Tested by

no test coverage detected