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

Function ToMatrix

Source/Engine/Tools/ModelTool/ModelTool.OpenFBX.cpp:59–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59Matrix ToMatrix(const ofbx::DMatrix& mat)
60{
61 Matrix result;
62 for (int32 i = 0; i < 16; i++)
63 result.Raw[i] = (float)mat.m[i];
64 return result;
65}
66
67struct FbxNode
68{

Callers 5

ProcessNodesFunction · 0.70
GetOffsetMatrixFunction · 0.70
ExtractKeyframePositionFunction · 0.70
ExtractKeyframeRotationFunction · 0.70
ExtractKeyframeScaleFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected