summaryrefslogtreecommitdiff
path: root/libs/cglm/src/ray.c
diff options
context:
space:
mode:
Diffstat (limited to 'libs/cglm/src/ray.c')
-rw-r--r--libs/cglm/src/ray.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/libs/cglm/src/ray.c b/libs/cglm/src/ray.c
new file mode 100644
index 0000000..973c059
--- /dev/null
+++ b/libs/cglm/src/ray.c
@@ -0,0 +1,13 @@
+#include "../include/cglm/cglm.h"
+#include "../include/cglm/call.h"
+
+CGLM_EXPORT
+bool
+glmc_ray_triangle(vec3 origin,
+ vec3 direction,
+ vec3 v0,
+ vec3 v1,
+ vec3 v2,
+ float *d) {
+ return glm_ray_triangle(origin, direction, v0, v1, v2, d);
+}