Files
cglm/src/clipspace/ortho_lh_zo.c
2021-08-16 15:51:52 +03:00

52 lines
1.2 KiB
C

/*
* 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_zo.h"
#include "../../include/cglm/call/clipspace/ortho_lh_zo.h"
CGLM_EXPORT
void
glmc_ortho_lh_zo(float left, float right,
float bottom, float top,
float nearZ, float farZ,
mat4 dest) {
glm_ortho_lh_zo(left, right,
bottom, top,
nearZ, farZ,
dest);
}
CGLM_EXPORT
void
glmc_ortho_aabb_lh_zo(vec3 box[2], mat4 dest) {
glm_ortho_aabb_lh_zo(box, dest);
}
CGLM_EXPORT
void
glmc_ortho_aabb_p_lh_zo(vec3 box[2], float padding, mat4 dest) {
glm_ortho_aabb_p_lh_zo(box, padding, dest);
}
CGLM_EXPORT
void
glmc_ortho_aabb_pz_lh_zo(vec3 box[2], float padding, mat4 dest) {
glm_ortho_aabb_pz_lh_zo(box, padding, dest);
}
CGLM_EXPORT
void
glmc_ortho_default_lh_zo(float aspect, mat4 dest) {
glm_ortho_default_lh_zo(aspect, dest);
}
CGLM_EXPORT
void
glmc_ortho_default_s_lh_zo(float aspect, float size, mat4 dest) {
glm_ortho_default_s_lh_zo(aspect, size, dest);
}