mirror of
https://github.com/guezoloic/t3dsr.git
synced 2026-01-25 12:34:24 +00:00
feat: rework math files
- add SSE functions - remove vec3 / mat3
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
#include "math/vec3.h"
|
||||
#include <stdio.h>
|
||||
#include "math/vec4.h"
|
||||
|
||||
int main(void)
|
||||
{
|
||||
return 0;
|
||||
Vec4f_t vec = vec4(1.f, 2, 3, 4);
|
||||
float vec_array[4] = {1, 2, 3, 4};
|
||||
|
||||
vec4f_add_r(&vec, vec4f_from_array(vec_array));
|
||||
printf("%f\n", vec.data[1]);
|
||||
}
|
||||
Reference in New Issue
Block a user