diff options
Diffstat (limited to 'examples/cube.c')
-rw-r--r-- | examples/cube.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/examples/cube.c b/examples/cube.c index cf64370..f107e75 100644 --- a/examples/cube.c +++ b/examples/cube.c @@ -29,13 +29,13 @@ void draw() { // print debug info for one frame static bool printed = false; - if (!printed) { - printf("\nTo Center:\n"); - for (int i = 0; i < 16; i += 4) { - printf("%f %f %f %f\n", to_center.data[i], to_center.data[i + 1], to_center.data[i + 2], to_center.data[i + 3]); - } - printed = true; - } + // if (!printed) { + // printf("\nTo Center:\n"); + // for (int i = 0; i < 16; i += 4) { + // printf("%f %f %f %f\n", to_center.data[i], to_center.data[i + 1], to_center.data[i + 2], to_center.data[i + 3]); + // } + // printed = true; + // } // first move to center, then rotate, then move back mat4 cube_transform = mat4_mult(from_center, mat4_mult(rotation, to_center)); @@ -63,7 +63,6 @@ void draw() { } int main() { - core_bringup("Celeritas Example: Triangle", NULL); // create rendering pipeline |