DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
Loading...
Searching...
No Matches
vector3.hpp
Go to the documentation of this file.
1#pragma once
2
3#include "common.h"
4
18public:
19 float x;
20 float y;
21 float z;
22 float w;
23
24 CVector3_f_() {}
25
26 CVector3_f_(float x, float y, float z) : x(x), y(y), z(z) {}
27} __attribute__((aligned(16)));
28
29STATIC_ASSERT(sizeof(CVector3_f_) == 0x10);
30
35public:
36 int x;
37 int y;
38 int z;
39 int unk_0c;
40} __attribute__((aligned(16)));
41
42STATIC_ASSERT(sizeof(CVector3_i_) == 0x10);
43STATIC_ASSERT(__alignof__(CVector3_i_) == 0x10);