mirror of
https://github.com/thunderbrewhq/binana.git
synced 2025-12-12 09:52:28 +00:00
refactor(profile): profiles are now stored in profile/ subdirectory
This commit is contained in:
parent
1e1f435c5c
commit
c2b96d98b6
100 changed files with 58650 additions and 10 deletions
21
profile/3.3.5a-windows/include/tempest/box.h
Normal file
21
profile/3.3.5a-windows/include/tempest/box.h
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#ifndef TEMPEST_BOX_H
|
||||
#define TEMPEST_BOX_H
|
||||
|
||||
#include "tempest/vector.h"
|
||||
#include "tempest/range.h"
|
||||
|
||||
DECLARE_STRUCT(CAaBox);
|
||||
DECLARE_STRUCT(CBoundingBox);
|
||||
|
||||
struct CAaBox {
|
||||
C3Vector b;
|
||||
C3Vector t;
|
||||
};
|
||||
|
||||
struct CBoundingBox {
|
||||
CRange x;
|
||||
CRange y;
|
||||
CRange z;
|
||||
};
|
||||
|
||||
#endif
|
||||
55
profile/3.3.5a-windows/include/tempest/matrix.h
Normal file
55
profile/3.3.5a-windows/include/tempest/matrix.h
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
#ifndef TEMPEST_MATRIX_H
|
||||
#define TEMPEST_MATRIX_H
|
||||
|
||||
DECLARE_STRUCT(C33Matrix);
|
||||
DECLARE_STRUCT(C34Matrix);
|
||||
DECLARE_STRUCT(C44Matrix);
|
||||
|
||||
struct C33Matrix {
|
||||
float a0;
|
||||
float a1;
|
||||
float a2;
|
||||
float b0;
|
||||
float b1;
|
||||
float b2;
|
||||
float c0;
|
||||
float c1;
|
||||
float c2;
|
||||
};
|
||||
|
||||
struct C34Matrix {
|
||||
float a0;
|
||||
float a1;
|
||||
float a2;
|
||||
float b0;
|
||||
float b1;
|
||||
float b2;
|
||||
float c0;
|
||||
float c1;
|
||||
float c2;
|
||||
float d0;
|
||||
float d1;
|
||||
float d2;
|
||||
};
|
||||
|
||||
struct C44Matrix {
|
||||
float a0;
|
||||
float a1;
|
||||
float a2;
|
||||
float a3;
|
||||
float b0;
|
||||
float b1;
|
||||
float b2;
|
||||
float b3;
|
||||
float c0;
|
||||
float c1;
|
||||
float c2;
|
||||
float c3;
|
||||
float d0;
|
||||
float d1;
|
||||
float d2;
|
||||
float d3;
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
13
profile/3.3.5a-windows/include/tempest/plane.h
Normal file
13
profile/3.3.5a-windows/include/tempest/plane.h
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#ifndef TEMPEST_PLANE_H
|
||||
#define TEMPEST_PLANE_H
|
||||
|
||||
#include "tempest/vector.h"
|
||||
|
||||
DECLARE_STRUCT(C4Plane);
|
||||
|
||||
struct C4Plane {
|
||||
C3Vector n;
|
||||
float d;
|
||||
};
|
||||
|
||||
#endif
|
||||
13
profile/3.3.5a-windows/include/tempest/quaternion.h
Normal file
13
profile/3.3.5a-windows/include/tempest/quaternion.h
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#ifndef TEMPEST_QUATERNION_H
|
||||
#define TEMPEST_QUATERNION_H
|
||||
|
||||
DECLARE_STRUCT(C4Quaternion);
|
||||
|
||||
struct C4Quaternion {
|
||||
float x;
|
||||
float y;
|
||||
float z;
|
||||
float w;
|
||||
};
|
||||
|
||||
#endif
|
||||
19
profile/3.3.5a-windows/include/tempest/range.h
Normal file
19
profile/3.3.5a-windows/include/tempest/range.h
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#ifndef TEMPEST_RANGE_H
|
||||
#define TEMPEST_RANGE_H
|
||||
|
||||
#include "system/types.h"
|
||||
|
||||
DECLARE_STRUCT(CRange);
|
||||
DECLARE_STRUCT(CiRange);
|
||||
|
||||
struct CRange {
|
||||
float l;
|
||||
float h;
|
||||
};
|
||||
|
||||
struct CiRange {
|
||||
int32_t l;
|
||||
int32_t h;
|
||||
};
|
||||
|
||||
#endif
|
||||
23
profile/3.3.5a-windows/include/tempest/rect.h
Normal file
23
profile/3.3.5a-windows/include/tempest/rect.h
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
#ifndef TEMPEST_RECT_H
|
||||
#define TEMPEST_RECT_H
|
||||
|
||||
#include "system/types.h"
|
||||
|
||||
DECLARE_STRUCT(CRect);
|
||||
DECLARE_STRUCT(CiRect);
|
||||
|
||||
struct CRect {
|
||||
float minY; // t
|
||||
float minX; // l
|
||||
float maxY; // b
|
||||
float maxX; // r
|
||||
};
|
||||
|
||||
struct CiRect {
|
||||
int32_t minY;
|
||||
int32_t minX;
|
||||
int32_t maxY;
|
||||
int32_t maxX;
|
||||
};
|
||||
|
||||
#endif
|
||||
13
profile/3.3.5a-windows/include/tempest/sphere.h
Normal file
13
profile/3.3.5a-windows/include/tempest/sphere.h
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#ifndef TEMPEST_SPHERE_H
|
||||
#define TEMPEST_SPHERE_H
|
||||
|
||||
#include "tempest/vector.h"
|
||||
|
||||
DECLARE_STRUCT(CAaSphere);
|
||||
|
||||
struct CAaSphere {
|
||||
C3Vector n;
|
||||
float d;
|
||||
};
|
||||
|
||||
#endif
|
||||
43
profile/3.3.5a-windows/include/tempest/vector.h
Normal file
43
profile/3.3.5a-windows/include/tempest/vector.h
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
#ifndef TEMPEST_VECTOR_H
|
||||
#define TEMPEST_VECTOR_H
|
||||
|
||||
#include "system/types.h"
|
||||
|
||||
DECLARE_STRUCT(C2Vector);
|
||||
DECLARE_STRUCT(C2iVector);
|
||||
DECLARE_STRUCT(C3Vector);
|
||||
DECLARE_STRUCT(C4Vector);
|
||||
DECLARE_STRUCT(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