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

Method unproject

Engine/source/gui/3d/guiTSControl.cpp:278–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

276//-----------------------------------------------------------------------------
277
278bool GuiTSCtrl::unproject( const Point3F &pt, Point3F *dest ) const
279{
280 MathUtils::mProjectScreenToWorld(pt,dest,mSaveViewport,mSaveModelview,mSaveProjection,mLastCameraQuery.farPlane,mLastCameraQuery.nearPlane);
281 return true;
282}
283
284//-----------------------------------------------------------------------------
285

Callers 1

guiTSControl.cppFile · 0.80

Calls 1

mProjectScreenToWorldFunction · 0.85

Tested by

no test coverage detected