MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / makeProjection

Function makeProjection

Engine/source/math/mathUtils.cpp:1409–1419  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1407//-----------------------------------------------------------------------------
1408
1409void makeProjection( MatrixF *outMatrix,
1410 F32 fovYInRadians,
1411 F32 aspectRatio,
1412 F32 nearPlane,
1413 F32 farPlane,
1414 bool gfxRotate )
1415{
1416 F32 left, right, top, bottom;
1417 makeFrustum( &left, &right, &top, &bottom, fovYInRadians, aspectRatio, nearPlane );
1418 makeProjection( outMatrix, left, right, top, bottom, nearPlane, farPlane, gfxRotate );
1419}
1420
1421//-----------------------------------------------------------------------------
1422

Callers 2

getWorldToLightProjMethod · 0.85
getProjectionMatrixMethod · 0.85

Calls 4

makeFrustumFunction · 0.85
setRowMethod · 0.80
transposeMethod · 0.45
mulMethod · 0.45

Tested by

no test coverage detected