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

Function TriMatrixRotate

trinity/TriMath.cpp:631–637  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

629}
630
631Matrix* TriMatrixRotate( Matrix* out, const Matrix* m, const Quaternion* q )
632{
633 //we might be able to use a niftier way to do this later
634 Matrix tmpResult = RotationMatrix( *q );
635 *out = *m * tmpResult;
636 return out;
637}
638
639Matrix* TriMatrixRotate( Matrix* out, const Quaternion* q, const Matrix* m )
640{

Callers 2

UpdateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected