use pascal calling convention for one function in raytracer.c, to make it easier to notice any bugs

This commit is contained in:
Wolfgang Thaller 2014-09-25 21:10:29 +02:00
parent 5648c5be94
commit cfa92dcc02

View File

@ -42,6 +42,7 @@ QDGlobals qd;
#include <stdbool.h>
#include <stdio.h>
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;