Базовая версия библиотеки. Версия 0.2.0-dev
This commit is contained in:
parent
b086af7f66
commit
6a56e85052
39 changed files with 6200 additions and 1 deletions
24
src/matrix2x2.c
Normal file
24
src/matrix2x2.c
Normal file
|
@ -0,0 +1,24 @@
|
|||
#include "matrix2x2.h"
|
||||
|
||||
#include <math.h>
|
||||
#include "angle.h"
|
||||
|
||||
const SPMatrix2x2 SP_ZERO_MATRIX2X2 = {
|
||||
0.0f, 0.0f,
|
||||
0.0f, 0.0f
|
||||
};
|
||||
|
||||
const DPMatrix2x2 DP_ZERO_MATRIX2X2 = {
|
||||
0.0, 0.0,
|
||||
0.0, 0.0
|
||||
};
|
||||
|
||||
const SPMatrix2x2 SP_IDENTITY_MATRIX2X2 = {
|
||||
1.0f, 0.0f,
|
||||
0.0f, 1.0f
|
||||
};
|
||||
|
||||
const DPMatrix2x2 DP_IDENTITY_MATRIX2X2 = {
|
||||
1.0, 0.0,
|
||||
0.0, 1.0
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue