mirror of
https://github.com/guezoloic/t3dsr.git
synced 2026-01-25 09:34:24 +00:00
feat(mat4): add mat4 basic functions
This commit is contained in:
@@ -1,12 +1,7 @@
|
||||
#include "math/vec3.h"
|
||||
#include <stdio.h>
|
||||
|
||||
#define printVector3(v) { printf("(%f, %f, %f)", v.x, v.y, v.z); }
|
||||
|
||||
int main()
|
||||
int main(void)
|
||||
{
|
||||
Vec3 vec = vec3(1, 1, 1);
|
||||
Vec3 val = vec3_add(vec, vec3(1, 2, 3));
|
||||
printVector3(val);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user