mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-26 09:41:15 +00:00
Create vec2_t/vec3_t typedefs
This commit is contained in:
parent
a1cf6f29f4
commit
5d7367e89a
@ -25,6 +25,8 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
typedef float vec2_t[2];
|
||||
|
||||
float vec2_dot(const float *a, const float *b);
|
||||
|
||||
float vec2_cross(const float *a, const float *b) ;
|
||||
|
@ -25,6 +25,8 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
typedef float vec3_t[3];
|
||||
|
||||
float vec3_dot(const float *a, const float *b);
|
||||
|
||||
void vec3_cross(float* dst, const float *a, const float *b);
|
||||
|
Loading…
Reference in New Issue
Block a user