From 90125f6809d6c2a9e4d72b6c3846c8b378d32261 Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Sat, 26 Oct 2024 23:23:19 +1100 Subject: adding file doc comments --- examples/cube.c | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'examples') 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 -- cgit v1.2.3-70-g09d2