MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / toStringF4x4

Function toStringF4x4

TheForceEngine/TFE_ForceScript/float4x4.cpp:137–144  ·  view source on GitHub ↗

----------------------- Intrinsics -----------------------

Source from the content-addressed store, hash-verified

135 // Intrinsics
136 //-----------------------
137 std::string toStringF4x4(const float4x4& m)
138 {
139 char tmp[1024];
140 sprintf(tmp, "[ (%g, %g, %g, %g), (%g, %g, %g, %g), (%g, %g, %g, %g), (%g, %g, %g, %g) ]",
141 m.r[0].x, m.r[0].y, m.r[0].z, m.r[0].w, m.r[1].x, m.r[1].y, m.r[1].z, m.r[1].w,
142 m.r[2].x, m.r[2].y, m.r[2].z, m.r[2].w, m.r[3].x, m.r[3].y, m.r[3].z, m.r[3].w);
143 return std::string(tmp);
144 }
145
146 //-------------------------------------
147 // Registration

Callers 5

compareValuesMethod · 0.85
toStringFunction · 0.85
formatValueFunction · 0.85
toStringFunction · 0.85
formatValueFunction · 0.85

Calls

no outgoing calls

Tested by 1

compareValuesMethod · 0.68