@@ -22,7 +22,6 @@ static const float matrix_identity[16] = {
22
22
23
23
#define MATRIX_SIZE (sizeof(float) * 16)
24
24
25
-
26
25
//=============================================================================
27
26
// utilities
28
27
@@ -205,8 +204,6 @@ void matrix_project_vector3(float mx[], float* x, float* y, float* z) {
205
204
* z = mx_out [11 ];
206
205
}
207
206
208
-
209
-
210
207
//=============================================================================
211
208
// Erlang NIF stuff from here down.
212
209
@@ -241,7 +238,6 @@ nif_close(ErlNifEnv *env, int argc, const ERL_NIF_TERM argv[]) {
241
238
}
242
239
}
243
240
244
-
245
241
//-----------------------------------------------------------------------------
246
242
// add two matrices together. result is stored in a new matrix
247
243
@@ -304,7 +300,6 @@ nif_subtract(ErlNifEnv *env, int argc, const ERL_NIF_TERM argv[]) {
304
300
return result ;
305
301
}
306
302
307
-
308
303
//-----------------------------------------------------------------------------
309
304
// multiply two matrices together. result is stored in a new matrix
310
305
@@ -336,7 +331,6 @@ nif_multiply(ErlNifEnv *env, int argc, const ERL_NIF_TERM argv[]) {
336
331
return result ;
337
332
}
338
333
339
-
340
334
//-----------------------------------------------------------------------------
341
335
// multiply two matrices together. result is stored in a new matrix
342
336
@@ -449,8 +443,6 @@ nif_divide_scalar(ErlNifEnv *env, int argc, const ERL_NIF_TERM argv[]) {
449
443
return result ;
450
444
}
451
445
452
-
453
-
454
446
//-----------------------------------------------------------------------------
455
447
// calculate the scalar determinant
456
448
@@ -522,7 +514,6 @@ nif_adjugate(ErlNifEnv *env, int argc, const ERL_NIF_TERM argv[]) {
522
514
return result ;
523
515
}
524
516
525
-
526
517
//-----------------------------------------------------------------------------
527
518
// project a 2d vector by a matrix
528
519
static ERL_NIF_TERM
0 commit comments