summaryrefslogtreecommitdiff
path: root/libs/cglm/src/clipspace/project_zo.c
blob: bc480a09b5acda992628fad0669e0b835a74192e (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_zo.h"
#include "../../include/cglm/call/clipspace/project_zo.h"

CGLM_EXPORT
void
glmc_unprojecti_zo(vec3 pos, mat4 invMat, vec4 vp, vec3 dest) {
  glm_unprojecti_zo(pos, invMat, vp, dest);
}

CGLM_EXPORT
void
glmc_project_zo(vec3 pos, mat4 m, vec4 vp, vec3 dest) {
  glm_project_zo(pos, m, vp, dest);
}