MCPcopy Create free account
hub / github.com/carbonengine/trinity / PyProject

Method PyProject

trinity/TriVector.cpp:336–346  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

334}
335
336void TriVector::PyProject(
337 TriViewport* vp,
338 ITriMatrix* project,
339 ITriMatrix* view,
340 ITriMatrix* world )
341{
342 *static_cast<Vector3*>( this ) = TransformCoord( *this, *world->GetMatrix() );
343 *static_cast<Vector3*>( this ) = TransformCoord( *this, *view->GetMatrix() );
344 *static_cast<Vector3*>( this ) = TransformCoord( *this, *project->GetMatrix() );
345 Vec3TransformByViewport( *this, *vp );
346}
347
348void TriVector::PySubtract( ITriVector* other )
349{

Callers

nothing calls this directly

Calls 2

Vec3TransformByViewportFunction · 0.85
GetMatrixMethod · 0.80

Tested by

no test coverage detected