Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
c_sxyz.h
Go to the documentation of this file.
1#ifndef C_SXYZ_H
2#define C_SXYZ_H
3
4#include "dolphin/mtx/vec.h"
5
6class csXyz : public SVec {
7public:
8 static const csXyz Zero;
9 /* 80018BD0 */ ~csXyz() {};
10 /* inline */ csXyz() {}
11 /* inline */ csXyz(const csXyz& other) : SVec(other){};
12 /* 802673F4 */ csXyz(s16, s16, s16);
13 /* 80267404 */ csXyz operator+(csXyz&);
14 /* 8026745C */ void operator+=(csXyz&);
15 /* 80267490 */ csXyz operator-(csXyz&);
16 /* 802674E8 */ csXyz operator*(f32);
17 s16 GetX() const { return x; }
18 s16 GetY() const { return y; }
19 s16 GetZ() const { return z; }
20
21 void set(s16 oX, s16 oY, s16 oZ) {
22 x = oX;
23 y = oY;
24 z = oZ;
25 }
26
27 void setall(s16 val) {
28 x = val;
29 y = val;
30 z = val;
31 }
32};
33
34#endif /* C_SXYZ_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition vec.h:18
s16 x
Definition vec.h:19
s16 z
Definition vec.h:19
s16 y
Definition vec.h:19
Definition d_a_ep.cpp:66
void setall(s16 val)
Definition c_sxyz.h:27
csXyz operator*(f32)
Definition c_sxyz.cpp:35
csXyz operator-(csXyz &)
Definition c_sxyz.cpp:30
s16 GetZ() const
Definition c_sxyz.h:19
~csXyz()
Definition c_sxyz.h:9
s16 GetX() const
Definition c_sxyz.h:17
s16 GetY() const
Definition c_sxyz.h:18
static const csXyz Zero
Definition c_sxyz.h:8
void operator+=(csXyz &)
Definition c_sxyz.cpp:23
csXyz()
Definition c_sxyz.h:10
csXyz(const csXyz &other)
Definition c_sxyz.h:11
csXyz operator+(csXyz &)
Definition c_sxyz.cpp:18
void set(s16 oX, s16 oY, s16 oZ)
Definition c_sxyz.h:21
float f32
Definition types.h:22
signed short s16
Definition types.h:5