Skip to content

Commit 2208173

Browse files
committed
Implemented basic matrix operations
1 parent 25cbeef commit 2208173

File tree

5 files changed

+851
-60
lines changed

5 files changed

+851
-60
lines changed

include/private/dsp/arch/generic/3dmath.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,14 +400,17 @@ namespace lsp
400400
M[1] = 0.0f;
401401
M[2] = 0.0f;
402402
M[3] = 0.0f;
403+
403404
M[4] = 0.0f;
404405
M[5] = c;
405406
M[6] = s;
406407
M[7] = 0.0f;
408+
407409
M[8] = 0.0f;
408410
M[9] = -s;
409411
M[10] = c;
410412
M[11] = 0.0f;
413+
411414
M[12] = 0.0f;
412415
M[13] = 0.0f;
413416
M[14] = 0.0f;
@@ -424,14 +427,17 @@ namespace lsp
424427
M[1] = 0.0f;
425428
M[2] = -s;
426429
M[3] = 0.0f;
430+
427431
M[4] = 0.0f;
428432
M[5] = 1.0f;
429433
M[6] = 0.0f;
430434
M[7] = 0.0f;
435+
431436
M[8] = s;
432437
M[9] = 0.0f;
433438
M[10] = c;
434439
M[11] = 0.0f;
440+
435441
M[12] = 0.0f;
436442
M[13] = 0.0f;
437443
M[14] = 0.0f;
@@ -448,14 +454,17 @@ namespace lsp
448454
M[1] = s;
449455
M[2] = 0.0f;
450456
M[3] = 0.0f;
457+
451458
M[4] = -s;
452459
M[5] = c;
453460
M[6] = 0.0f;
454461
M[7] = 0.0f;
462+
455463
M[8] = 0.0f;
456464
M[9] = 0.0f;
457465
M[10] = 1.0f;
458466
M[11] = 0.0f;
467+
459468
M[12] = 0.0f;
460469
M[13] = 0.0f;
461470
M[14] = 0.0f;

0 commit comments

Comments
 (0)