MCPcopy Create free account
hub / github.com/defold/defold / OutputMatrix

Function OutputMatrix

engine/modelc/src/modelimporter_debug.cpp:74–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74static void OutputMatrix(const dmTransform::Transform& transform)
75{
76 dmVMath::Matrix4 mat = dmTransform::ToMatrix4(transform);
77 printf(" "); OutputVector4(mat.getRow(0));
78 printf(" "); OutputVector4(mat.getRow(1));
79 printf(" "); OutputVector4(mat.getRow(2));
80 printf(" "); OutputVector4(mat.getRow(3));
81}
82
83// TODO: move this to a private header
84static dmTransform::Transform& ToTransform(const dmModelImporter::Transform& in, dmTransform::Transform& out)

Callers 2

OutputBoneFunction · 0.70
OutputNodeFunction · 0.70

Calls 4

ToTransformFunction · 0.85
OutputVector4Function · 0.70
ToMatrix4Function · 0.50
getRowMethod · 0.45

Tested by

no test coverage detected