mirror of
https://github.com/thunderbrewhq/binana.git
synced 2025-12-12 09:52:28 +00:00
chore(binana): add files
This commit is contained in:
commit
aa605d1aef
14 changed files with 305 additions and 0 deletions
42
3.3.5a/include/tempest/vector.h
Normal file
42
3.3.5a/include/tempest/vector.h
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
#ifndef TEMPEST_VECTOR_H
|
||||
#define TEMPEST_VECTOR_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
typedef struct C2Vector C2Vector;
|
||||
typedef struct C3Vector C3Vector;
|
||||
typedef struct C4Vector C4Vector;
|
||||
typedef struct CImVector CImVector;
|
||||
|
||||
struct C2Vector {
|
||||
float x;
|
||||
float y;
|
||||
};
|
||||
|
||||
struct C2iVector {
|
||||
int32_t x;
|
||||
int32_t y;
|
||||
};
|
||||
|
||||
struct C3Vector {
|
||||
float x;
|
||||
float y;
|
||||
float z;
|
||||
};
|
||||
|
||||
struct C4Vector {
|
||||
float x;
|
||||
float y;
|
||||
float z;
|
||||
float w;
|
||||
};
|
||||
|
||||
struct CImVector {
|
||||
uint8_t b;
|
||||
uint8_t g;
|
||||
uint8_t r;
|
||||
uint8_t a;
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue