Merge pull request #161 from ryandesign/patch-1

Raytracer: Fix typo in comment
This commit is contained in:
Wolfgang Thaller 2022-08-02 17:47:57 +02:00 committed by GitHub
commit 75631f17ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,7 +41,7 @@
#include <stdbool.h> #include <stdbool.h>
#include <stdlib.h> #include <stdlib.h>
pascal /* <- pascal calling convention, for no reason in particular except to test the comppiler */ pascal /* <- pascal calling convention, for no reason in particular except to test the compiler */
bool hitSphere(float x0, float y0, float z0, float dx, float dy, float dz, float *t) 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; const float xc = 0.0f, yc = 0.0f, zc = -6.0f, r = 1.0f;