summaryrefslogtreecommitdiff
path: root/libs/cglm/src/clipspace/project_no.c
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-06-14 00:06:42 -0500
committersanine <sanine.not@pm.me>2022-06-14 00:06:42 -0500
commit2f518e5e28d35ae24a5ac0e31000835e43b01972 (patch)
tree47fdeb9fa5b04e267702acb06424d3f87b37dd84 /libs/cglm/src/clipspace/project_no.c
parent034d5c965ff34cfdf4b153af9f32360a02e35684 (diff)
add cglm as 3rd-party library
Diffstat (limited to 'libs/cglm/src/clipspace/project_no.c')
-rw-r--r--libs/cglm/src/clipspace/project_no.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/libs/cglm/src/clipspace/project_no.c b/libs/cglm/src/clipspace/project_no.c
new file mode 100644
index 0000000..8352cba
--- /dev/null
+++ b/libs/cglm/src/clipspace/project_no.c
@@ -0,0 +1,21 @@
+/*
+ * Copyright (c), Recep Aslantas.
+ *
+ * MIT License (MIT), http://opensource.org/licenses/MIT
+ * Full license can be found in the LICENSE file
+ */
+
+#include "../../include/cglm/clipspace/project_no.h"
+#include "../../include/cglm/call/clipspace/project_no.h"
+
+CGLM_EXPORT
+void
+glmc_unprojecti_no(vec3 pos, mat4 invMat, vec4 vp, vec3 dest) {
+ glm_unprojecti_no(pos, invMat, vp, dest);
+}
+
+CGLM_EXPORT
+void
+glmc_project_no(vec3 pos, mat4 m, vec4 vp, vec3 dest) {
+ glm_project_no(pos, m, vp, dest);
+}