MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / SetMatrixTranspose

Method SetMatrixTranspose

Source/Engine/Core/Math/Matrix.cpp:917–933  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

915}
916
917void Matrix3x4::SetMatrixTranspose(const Matrix& m)
918{
919 const float* src = m.Raw;
920 float* dst = Raw;
921 dst[0] = src[0];
922 dst[1] = src[4];
923 dst[2] = src[8];
924 dst[3] = src[12];
925 dst[4] = src[1];
926 dst[5] = src[5];
927 dst[6] = src[9];
928 dst[7] = src[13];
929 dst[8] = src[2];
930 dst[9] = src[6];
931 dst[10] = src[10];
932 dst[11] = src[14];
933}
934
935Double4x4::Double4x4(const Matrix& matrix)
936{

Callers 7

WriteCascadeObjectsMethod · 0.80
BindMethod · 0.80
BindMethod · 0.80
BindMethod · 0.80
PreInitSkinningDataMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected