MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / getZBiasProjectionMatrix

Function getZBiasProjectionMatrix

Engine/source/math/mathUtils.cpp:183–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181//-----------------------------------------------------------------------------
182
183void getZBiasProjectionMatrix( F32 bias, const Frustum &frustum, MatrixF *outMat, bool rotate )
184{
185 Frustum temp(frustum);
186 temp.setNearDist(frustum.getNearDist() + bias);
187 temp.getProjectionMatrix(outMat, rotate);
188}
189
190//-----------------------------------------------------------------------------
191

Callers 5

prepRenderImageMethod · 0.85
prepRenderImageMethod · 0.85
renderFaceEdgesMethod · 0.85
prepRenderImageMethod · 0.85
_renderCellBoundsMethod · 0.85

Calls 3

setNearDistMethod · 0.80
getNearDistMethod · 0.80
getProjectionMatrixMethod · 0.80

Tested by

no test coverage detected