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

Function Matrix4dFromMatrix

trinity/TriMath.cpp:867–877  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

865
866
867double* Matrix4dFromMatrix( double* result, const Matrix& mat )
868{
869 for( int r = 0; r < 4; r++ )
870 {
871 for( int c = 0; c < 4; c++ )
872 {
873 result[r * 4 + c] = mat.m[r][c];
874 }
875 }
876 return result;
877}
878
879
880

Callers 2

UpdatePerObjectDataMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected