From cfa92dcc0299bdb69cb147354c3d123f65bc0787 Mon Sep 17 00:00:00 2001 From: Wolfgang Thaller Date: Thu, 25 Sep 2014 21:10:29 +0200 Subject: [PATCH] use pascal calling convention for one function in raytracer.c, to make it easier to notice any bugs --- Raytracer/raytracer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Raytracer/raytracer.c b/Raytracer/raytracer.c index 282e38d7d2..98f167949a 100644 --- a/Raytracer/raytracer.c +++ b/Raytracer/raytracer.c @@ -42,6 +42,7 @@ QDGlobals qd; #include #include +pascal /* <- pascal calling convention, for no reason in particular except to test the comppiler */ bool hitSphere(float x0, float y0, float z0, float dx, float dy, float dz, float *t) { const float xc = 0.0f, yc = 0.0f, zc = -6.0f, r = 1.0f;