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

Function mProjectWorldToScreen

Engine/source/math/mathUtils.cpp:435–445  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

433//-----------------------------------------------------------------------------
434
435bool mProjectWorldToScreen( const Point3F &in,
436 Point3F *out,
437 const RectI &view,
438 const MatrixF &world,
439 const MatrixF &projection )
440{
441 MatrixF worldProjection = projection;
442 worldProjection.mul(world);
443
444 return mProjectWorldToScreen( in, out, view, worldProjection );
445}
446
447//-----------------------------------------------------------------------------
448

Callers 9

_setupConstantsMethod · 0.85
renderMethod · 0.85
_testVisibilityMethod · 0.85
prepRenderMethod · 0.85
projectMethod · 0.85
drawLineMethod · 0.85
collideAxisGizmoMethod · 0.85
renderTextMethod · 0.85
clipFrustumByPolygonFunction · 0.85

Calls 1

mulMethod · 0.45

Tested by

no test coverage detected