summaryrefslogtreecommitdiff
path: root/libs/cglm/src/clipspace/ortho_lh_no.c
blob: 839926acc41fddda8b6dedc1a25482c2e940b422 (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_lh_no.h"
#include "../../include/cglm/call/clipspace/ortho_lh_no.h"

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

CGLM_EXPORT
void
glmc_ortho_aabb_lh_no(vec3 box[2], mat4 dest) {
  glm_ortho_aabb_lh_no(box, dest);
}

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

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

CGLM_EXPORT
void
glmc_ortho_default_lh_no(float aspect, mat4 dest) {
  glm_ortho_default_lh_no(aspect, dest);
}

CGLM_EXPORT
void
glmc_ortho_default_s_lh_no(float aspect, float size, mat4 dest) {
  glm_ortho_default_s_lh_no(aspect, size, dest);
}