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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
|
/*
* Copyright (c), Recep Aslantas.
*
* MIT License (MIT), http://opensource.org/licenses/MIT
* Full license can be found in the LICENSE file
*/
#include "../include/cglm/cglm.h"
#include "../include/cglm/call.h"
CGLM_EXPORT
void
glmc_ivec4(ivec3 v3, int last, ivec4 dest) {
glm_ivec4(v3, last, dest);
}
CGLM_EXPORT
void
glmc_ivec4_copy(ivec4 a, ivec4 dest) {
glm_ivec4_copy(a, dest);
}
CGLM_EXPORT
void
glmc_ivec4_zero(ivec4 v) {
glm_ivec4_zero(v);
}
CGLM_EXPORT
void
glmc_ivec4_one(ivec4 v) {
glm_ivec4_one(v);
}
CGLM_EXPORT
void
glmc_ivec4_add(ivec4 a, ivec4 b, ivec4 dest) {
glm_ivec4_add(a, b, dest);
}
CGLM_EXPORT
void
glmc_ivec4_adds(ivec4 v, int s, ivec4 dest) {
glm_ivec4_adds(v, s, dest);
}
CGLM_EXPORT
void
glmc_ivec4_sub(ivec4 a, ivec4 b, ivec4 dest) {
glm_ivec4_sub(a, b, dest);
}
CGLM_EXPORT
void
glmc_ivec4_subs(ivec4 v, int s, ivec4 dest) {
glm_ivec4_subs(v, s, dest);
}
CGLM_EXPORT
void
glmc_ivec4_mul(ivec4 a, ivec4 b, ivec4 dest) {
glm_ivec4_mul(a, b, dest);
}
CGLM_EXPORT
void
glmc_ivec4_scale(ivec4 v, int s, ivec4 dest) {
glm_ivec4_scale(v, s, dest);
}
CGLM_EXPORT
int
glmc_ivec4_distance2(ivec4 a, ivec4 b) {
return glm_ivec4_distance2(a, b);
}
CGLM_EXPORT
float
glmc_ivec4_distance(ivec4 a, ivec4 b) {
return glm_ivec4_distance(a, b);
}
CGLM_EXPORT
void
glmc_ivec4_maxv(ivec4 a, ivec4 b, ivec4 dest) {
glm_ivec4_maxv(a, b, dest);
}
CGLM_EXPORT
void
glmc_ivec4_minv(ivec4 a, ivec4 b, ivec4 dest) {
glm_ivec4_minv(a, b, dest);
}
CGLM_EXPORT
void
glmc_ivec4_clamp(ivec4 v, int minVal, int maxVal) {
glm_ivec4_clamp(v, minVal, maxVal);
}
|