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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
//! This file has been automatically generated by `objc2`'s `header-translator`.
//! DO NOT EDIT
use crate::*;
extern "C"
// TODO: pub fn GLKMatrix4Make(m00: c_float,m01: c_float,m02: c_float,m03: c_float,m10: c_float,m11: c_float,m12: c_float,m13: c_float,m20: c_float,m21: c_float,m22: c_float,m23: c_float,m30: c_float,m31: c_float,m32: c_float,m33: c_float,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4MakeAndTranspose(m00: c_float,m01: c_float,m02: c_float,m03: c_float,m10: c_float,m11: c_float,m12: c_float,m13: c_float,m20: c_float,m21: c_float,m22: c_float,m23: c_float,m30: c_float,m31: c_float,m32: c_float,m33: c_float,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4MakeWithArray(values: ArrayUnknownABI<[c_float; 16]>,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4MakeWithArrayAndTranspose(values: ArrayUnknownABI<[c_float; 16]>,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4MakeWithRows(row0: GLKVector4,row1: GLKVector4,row2: GLKVector4,row3: GLKVector4,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4MakeWithColumns(column0: GLKVector4,column1: GLKVector4,column2: GLKVector4,column3: GLKVector4,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4MakeWithQuaternion(quaternion: GLKQuaternion,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4MakeTranslation(tx: c_float,ty: c_float,tz: c_float,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4MakeScale(sx: c_float,sy: c_float,sz: c_float,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4MakeRotation(radians: c_float,x: c_float,y: c_float,z: c_float,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4MakeXRotation(radians: c_float,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4MakeYRotation(radians: c_float,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4MakeZRotation(radians: c_float,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4MakePerspective(fovy_radians: c_float,aspect: c_float,near_z: c_float,far_z: c_float,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4MakeFrustum(left: c_float,right: c_float,bottom: c_float,top: c_float,near_z: c_float,far_z: c_float,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4MakeOrtho(left: c_float,right: c_float,bottom: c_float,top: c_float,near_z: c_float,far_z: c_float,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4MakeLookAt(eye_x: c_float,eye_y: c_float,eye_z: c_float,center_x: c_float,center_y: c_float,center_z: c_float,up_x: c_float,up_y: c_float,up_z: c_float,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4GetMatrix3(matrix: GLKMatrix4,) -> GLKMatrix3;
// TODO: pub fn GLKMatrix4GetMatrix2(matrix: GLKMatrix4,) -> GLKMatrix2;
// TODO: pub fn GLKMatrix4GetRow(matrix: GLKMatrix4,row: c_int,) -> GLKVector4;
// TODO: pub fn GLKMatrix4GetColumn(matrix: GLKMatrix4,column: c_int,) -> GLKVector4;
// TODO: pub fn GLKMatrix4SetRow(matrix: GLKMatrix4,row: c_int,vector: GLKVector4,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4SetColumn(matrix: GLKMatrix4,column: c_int,vector: GLKVector4,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4Transpose(matrix: GLKMatrix4,) -> GLKMatrix4;
extern "C-unwind"
extern "C-unwind"
// TODO: pub fn GLKMatrix4Multiply(matrix_left: GLKMatrix4,matrix_right: GLKMatrix4,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4Add(matrix_left: GLKMatrix4,matrix_right: GLKMatrix4,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4Subtract(matrix_left: GLKMatrix4,matrix_right: GLKMatrix4,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4Translate(matrix: GLKMatrix4,tx: c_float,ty: c_float,tz: c_float,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4TranslateWithVector3(matrix: GLKMatrix4,translation_vector: GLKVector3,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4TranslateWithVector4(matrix: GLKMatrix4,translation_vector: GLKVector4,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4Scale(matrix: GLKMatrix4,sx: c_float,sy: c_float,sz: c_float,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4ScaleWithVector3(matrix: GLKMatrix4,scale_vector: GLKVector3,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4ScaleWithVector4(matrix: GLKMatrix4,scale_vector: GLKVector4,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4Rotate(matrix: GLKMatrix4,radians: c_float,x: c_float,y: c_float,z: c_float,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4RotateWithVector3(matrix: GLKMatrix4,radians: c_float,axis_vector: GLKVector3,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4RotateWithVector4(matrix: GLKMatrix4,radians: c_float,axis_vector: GLKVector4,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4RotateX(matrix: GLKMatrix4,radians: c_float,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4RotateY(matrix: GLKMatrix4,radians: c_float,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4RotateZ(matrix: GLKMatrix4,radians: c_float,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4MultiplyVector3(matrix_left: GLKMatrix4,vector_right: GLKVector3,) -> GLKVector3;
// TODO: pub fn GLKMatrix4MultiplyVector3WithTranslation(matrix_left: GLKMatrix4,vector_right: GLKVector3,) -> GLKVector3;
// TODO: pub fn GLKMatrix4MultiplyAndProjectVector3(matrix_left: GLKMatrix4,vector_right: GLKVector3,) -> GLKVector3;
// TODO: pub fn GLKMatrix4MultiplyVector3Array(matrix: GLKMatrix4,vectors: NonNull<GLKVector3>,vector_count: usize,);
// TODO: pub fn GLKMatrix4MultiplyVector3ArrayWithTranslation(matrix: GLKMatrix4,vectors: NonNull<GLKVector3>,vector_count: usize,);
// TODO: pub fn GLKMatrix4MultiplyAndProjectVector3Array(matrix: GLKMatrix4,vectors: NonNull<GLKVector3>,vector_count: usize,);
// TODO: pub fn GLKMatrix4MultiplyVector4(matrix_left: GLKMatrix4,vector_right: GLKVector4,) -> GLKVector4;
// TODO: pub fn GLKMatrix4MultiplyVector4Array(matrix: GLKMatrix4,vectors: NonNull<GLKVector4>,vector_count: usize,);
// TODO: pub fn GLKMatrix4Make(m00: c_float,m01: c_float,m02: c_float,m03: c_float,m10: c_float,m11: c_float,m12: c_float,m13: c_float,m20: c_float,m21: c_float,m22: c_float,m23: c_float,m30: c_float,m31: c_float,m32: c_float,m33: c_float,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4MakeAndTranspose(m00: c_float,m01: c_float,m02: c_float,m03: c_float,m10: c_float,m11: c_float,m12: c_float,m13: c_float,m20: c_float,m21: c_float,m22: c_float,m23: c_float,m30: c_float,m31: c_float,m32: c_float,m33: c_float,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4MakeWithArray(values: ArrayUnknownABI<[c_float; 16]>,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4MakeWithArrayAndTranspose(values: ArrayUnknownABI<[c_float; 16]>,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4MakeWithRows(row0: GLKVector4,row1: GLKVector4,row2: GLKVector4,row3: GLKVector4,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4MakeWithColumns(column0: GLKVector4,column1: GLKVector4,column2: GLKVector4,column3: GLKVector4,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4MakeWithQuaternion(quaternion: GLKQuaternion,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4MakeTranslation(tx: c_float,ty: c_float,tz: c_float,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4MakeScale(sx: c_float,sy: c_float,sz: c_float,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4MakeRotation(radians: c_float,x: c_float,y: c_float,z: c_float,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4MakeXRotation(radians: c_float,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4MakeYRotation(radians: c_float,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4MakeZRotation(radians: c_float,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4MakePerspective(fovy_radians: c_float,aspect: c_float,near_z: c_float,far_z: c_float,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4MakeFrustum(left: c_float,right: c_float,bottom: c_float,top: c_float,near_z: c_float,far_z: c_float,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4MakeOrtho(left: c_float,right: c_float,bottom: c_float,top: c_float,near_z: c_float,far_z: c_float,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4MakeLookAt(eye_x: c_float,eye_y: c_float,eye_z: c_float,center_x: c_float,center_y: c_float,center_z: c_float,up_x: c_float,up_y: c_float,up_z: c_float,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4GetMatrix3(matrix: GLKMatrix4,) -> GLKMatrix3;
// TODO: pub fn GLKMatrix4GetMatrix2(matrix: GLKMatrix4,) -> GLKMatrix2;
// TODO: pub fn GLKMatrix4GetRow(matrix: GLKMatrix4,row: c_int,) -> GLKVector4;
// TODO: pub fn GLKMatrix4GetColumn(matrix: GLKMatrix4,column: c_int,) -> GLKVector4;
// TODO: pub fn GLKMatrix4SetRow(matrix: GLKMatrix4,row: c_int,vector: GLKVector4,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4SetColumn(matrix: GLKMatrix4,column: c_int,vector: GLKVector4,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4Transpose(matrix: GLKMatrix4,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4Multiply(matrix_left: GLKMatrix4,matrix_right: GLKMatrix4,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4Add(matrix_left: GLKMatrix4,matrix_right: GLKMatrix4,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4Subtract(matrix_left: GLKMatrix4,matrix_right: GLKMatrix4,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4Translate(matrix: GLKMatrix4,tx: c_float,ty: c_float,tz: c_float,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4TranslateWithVector3(matrix: GLKMatrix4,translation_vector: GLKVector3,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4TranslateWithVector4(matrix: GLKMatrix4,translation_vector: GLKVector4,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4Scale(matrix: GLKMatrix4,sx: c_float,sy: c_float,sz: c_float,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4ScaleWithVector3(matrix: GLKMatrix4,scale_vector: GLKVector3,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4ScaleWithVector4(matrix: GLKMatrix4,scale_vector: GLKVector4,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4Rotate(matrix: GLKMatrix4,radians: c_float,x: c_float,y: c_float,z: c_float,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4RotateWithVector3(matrix: GLKMatrix4,radians: c_float,axis_vector: GLKVector3,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4RotateWithVector4(matrix: GLKMatrix4,radians: c_float,axis_vector: GLKVector4,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4RotateX(matrix: GLKMatrix4,radians: c_float,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4RotateY(matrix: GLKMatrix4,radians: c_float,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4RotateZ(matrix: GLKMatrix4,radians: c_float,) -> GLKMatrix4;
// TODO: pub fn GLKMatrix4MultiplyVector3(matrix_left: GLKMatrix4,vector_right: GLKVector3,) -> GLKVector3;
// TODO: pub fn GLKMatrix4MultiplyVector3WithTranslation(matrix_left: GLKMatrix4,vector_right: GLKVector3,) -> GLKVector3;
// TODO: pub fn GLKMatrix4MultiplyAndProjectVector3(matrix_left: GLKMatrix4,vector_right: GLKVector3,) -> GLKVector3;
// TODO: pub fn GLKMatrix4MultiplyVector3Array(matrix: GLKMatrix4,vectors: NonNull<GLKVector3>,vector_count: usize,);
// TODO: pub fn GLKMatrix4MultiplyVector3ArrayWithTranslation(matrix: GLKMatrix4,vectors: NonNull<GLKVector3>,vector_count: usize,);
// TODO: pub fn GLKMatrix4MultiplyAndProjectVector3Array(matrix: GLKMatrix4,vectors: NonNull<GLKVector3>,vector_count: usize,);
// TODO: pub fn GLKMatrix4MultiplyVector4(matrix_left: GLKMatrix4,vector_right: GLKVector4,) -> GLKVector4;
// TODO: pub fn GLKMatrix4MultiplyVector4Array(matrix: GLKMatrix4,vectors: NonNull<GLKVector4>,vector_count: usize,);