summaryrefslogtreecommitdiff
path: root/libs/cglm/src/clipspace/project_no.c
blob: 8352cba5e6378d9b011627be8759e430169bc68b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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);
}