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

Function makeProjection

Engine/source/math/mathUtils.cpp:1422–1432  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1420//-----------------------------------------------------------------------------
1421
1422void makeProjection( MatrixF *outMatrix,
1423 F32 fovYInRadians,
1424 F32 aspectRatio,
1425 F32 nearPlane,
1426 F32 farPlane,
1427 bool gfxRotate )
1428{
1429 F32 left, right, top, bottom;
1430 makeFrustum( &left, &right, &top, &bottom, fovYInRadians, aspectRatio, nearPlane );
1431 makeProjection( outMatrix, left, right, top, bottom, nearPlane, farPlane, gfxRotate );
1432}
1433
1434//-----------------------------------------------------------------------------
1435

Callers 2

getWorldToLightProjMethod · 0.85
getProjectionMatrixMethod · 0.85

Calls 5

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

Tested by

no test coverage detected