mirror of
https://github.com/zeldaret/oot3d.git
synced 2026-09-26 13:33:22 -04:00
a87ddae432
* pull known Actor functions GLOBAL_ASMs into their cpp files * attempt to pull unidentified actor functions GLOBAL_ASMs into their corresponding source files by scanning the call-graph
48 lines
647 B
C++
48 lines
647 B
C++
#ifndef _Z3DVEC_H_
|
|
#define _Z3DVEC_H_
|
|
|
|
typedef float f32;
|
|
typedef signed char s8;
|
|
typedef unsigned char u8;
|
|
typedef short s16;
|
|
typedef unsigned short u16;
|
|
typedef int s32;
|
|
typedef unsigned int u32;
|
|
typedef unsigned long long u64;
|
|
typedef long long s64;
|
|
|
|
typedef struct {
|
|
f32 x, y;
|
|
} Vec2f;
|
|
|
|
typedef struct {
|
|
f32 x, y, z;
|
|
} Vec3f;
|
|
|
|
typedef struct {
|
|
s16 x, y, z;
|
|
} Vec3s;
|
|
|
|
typedef struct {
|
|
s32 x, y, z;
|
|
} Vec3i;
|
|
|
|
typedef struct {
|
|
f32 data[3][4];
|
|
} MTX34;
|
|
|
|
typedef struct {
|
|
f32 data[4][4];
|
|
} MTX44;
|
|
|
|
class Vector3f {
|
|
public:
|
|
Vector3f(f32 x, f32 y, f32 z) : x(x), y(y), z(z) {}
|
|
|
|
f32 x;
|
|
f32 y;
|
|
f32 z;
|
|
};
|
|
|
|
#endif
|