MCPcopy Create free account
hub / github.com/bernhardstrobl/Pico3D / mat_debug

Function mat_debug

engine/render_math.h:38–44  ·  view source on GitHub ↗

4x4 matrix debug output

Source from the content-addressed store, hash-verified

36
37//4x4 matrix debug output
38void mat_debug(float mat[4][4], int y_offset) {
39 for (int y = 0; y < 4; y++) {
40 for (int x = 0; x < 4; x++){
41 text(str(mat[y][x], 2), x * 30, y * 10 + y_offset);
42 }
43 }
44}
45
46void mat_debug_fixed_point(int32_t mat[4][4], int y_offset) {
47 for (int y = 0; y < 4; y++) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected