mirror of
https://github.com/autc04/Retro68.git
synced 2025-01-11 02:30:42 +00:00
use pascal calling convention for one function in raytracer.c, to make it easier to notice any bugs
This commit is contained in:
parent
5648c5be94
commit
cfa92dcc02
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user