summaryrefslogtreecommitdiff
path: root/libs/cglm/src/clipspace/ortho_rh_no.c
blob: ca30e82834dd5a9a4560d4385a8921ab32f13712 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/*
 * 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/ortho_rh_no.h"
#include "../../include/cglm/call/clipspace/ortho_rh_no.h"

CGLM_EXPORT
void
glmc_ortho_rh_no(float left,    float right,
                 float bottom,  float top,
                 float nearZ, float farZ,
                 mat4  dest) {
  glm_ortho_rh_no(left,   right,
                  bottom, top,
                  nearZ,  farZ,
                  dest);
}

CGLM_EXPORT
void
glmc_ortho_aabb_rh_no(vec3 box[2], mat4 dest) {
  glm_ortho_aabb_rh_no(box, dest);
}

CGLM_EXPORT
void
glmc_ortho_aabb_p_rh_no(vec3 box[2], float padding, mat4 dest) {
  glm_ortho_aabb_p_rh_no(box, padding, dest);
}

CGLM_EXPORT
void
glmc_ortho_aabb_pz_rh_no(vec3 box[2], float padding, mat4 dest) {
  glm_ortho_aabb_pz_rh_no(box, padding, dest);
}

CGLM_EXPORT
void
glmc_ortho_default_rh_no(float aspect, mat4 dest) {
  glm_ortho_default_rh_no(aspect, dest);
}

CGLM_EXPORT
void
glmc_ortho_default_s_rh_no(float aspect, float size, mat4 dest) {
  glm_ortho_default_s_rh_no(aspect, size, dest);
}