MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/FleX / setDefaultLight

Method setDefaultLight

demo/d3d11/shadowMap.cpp:139–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137}
138
139void ShadowMap::setDefaultLight(FXMVECTOR eye, FXMVECTOR at, FXMVECTOR up)
140{
141 float sizeX = 50.0f;
142 float sizeY = 50.0f;
143 float znear = -200.0f;
144 float zfar = 200.0f;
145
146 setLightMatrices(eye, at, up, sizeX, sizeY, znear, zfar);
147}
148
149void ShadowMap::setLightMatrices(FXMVECTOR eye, FXMVECTOR lookAt, FXMVECTOR up, float sizeX, float sizeY, float zNear, float zFar)
150{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected