MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Tools / dumpMatrix

Function dumpMatrix

cube/cube.c:264–273  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

262// clang-format on
263
264void dumpMatrix(const char *note, mat4x4 MVP) {
265 int i;
266
267 printf("%s: \n", note);
268 for (i = 0; i < 4; i++) {
269 printf("%f, %f, %f, %f\n", MVP[i][0], MVP[i][1], MVP[i][2], MVP[i][3]);
270 }
271 printf("\n");
272 fflush(stdout);
273}
274
275void dumpVec4(const char *note, vec4 vector) {
276 printf("%s: \n", note);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected