Skip to content

Commit 781e706

Browse files
author
Noah Betzen
committed
Fix spacing inconsistensies
1 parent e8ff13d commit 781e706

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

c_src/matrix.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ static const float matrix_identity[16] = {
2222

2323
#define MATRIX_SIZE (sizeof(float) * 16)
2424

25-
2625
//=============================================================================
2726
// utilities
2827

@@ -205,8 +204,6 @@ void matrix_project_vector3(float mx[], float* x, float* y, float* z) {
205204
*z = mx_out[11];
206205
}
207206

208-
209-
210207
//=============================================================================
211208
// Erlang NIF stuff from here down.
212209

@@ -241,7 +238,6 @@ nif_close(ErlNifEnv *env, int argc, const ERL_NIF_TERM argv[]) {
241238
}
242239
}
243240

244-
245241
//-----------------------------------------------------------------------------
246242
// add two matrices together. result is stored in a new matrix
247243

@@ -304,7 +300,6 @@ nif_subtract(ErlNifEnv *env, int argc, const ERL_NIF_TERM argv[]) {
304300
return result;
305301
}
306302

307-
308303
//-----------------------------------------------------------------------------
309304
// multiply two matrices together. result is stored in a new matrix
310305

@@ -336,7 +331,6 @@ nif_multiply(ErlNifEnv *env, int argc, const ERL_NIF_TERM argv[]) {
336331
return result;
337332
}
338333

339-
340334
//-----------------------------------------------------------------------------
341335
// multiply two matrices together. result is stored in a new matrix
342336

@@ -449,8 +443,6 @@ nif_divide_scalar(ErlNifEnv *env, int argc, const ERL_NIF_TERM argv[]) {
449443
return result;
450444
}
451445

452-
453-
454446
//-----------------------------------------------------------------------------
455447
// calculate the scalar determinant
456448

@@ -522,7 +514,6 @@ nif_adjugate(ErlNifEnv *env, int argc, const ERL_NIF_TERM argv[]) {
522514
return result;
523515
}
524516

525-
526517
//-----------------------------------------------------------------------------
527518
// project a 2d vector by a matrix
528519
static ERL_NIF_TERM

0 commit comments

Comments
 (0)