mirror of
https://github.com/zeldaret/tp
synced 2026-05-25 15:25:25 -04:00
1114b13da8
* d_a_alldie / d_a_tboxSw / d_a_tag_gstart / d_a_tag_hstop * dolphin OS work / cleanup * dolphin GX work / cleanup * finish changing dolphin files to C * more files into C * match rest of MSL_C math functions * more dolphin files converted to C * remove asm * d_bg_w work * remove asm * d_a_alink work / kytag14
36 lines
804 B
C++
36 lines
804 B
C++
#ifndef C_SXYZ_H
|
|
#define C_SXYZ_H
|
|
|
|
#include "dolphin/mtx/vec.h"
|
|
#include "dolphin/types.h"
|
|
|
|
class csXyz : public SVec {
|
|
public:
|
|
static const csXyz Zero;
|
|
/* 80018BD0 */ ~csXyz() {}
|
|
/* inline */ csXyz() {}
|
|
/* inline */ csXyz(const csXyz& other) : SVec(other){};
|
|
/* 802673F4 */ csXyz(s16, s16, s16);
|
|
/* 80267404 */ csXyz operator+(csXyz&);
|
|
/* 8026745C */ void operator+=(csXyz&);
|
|
/* 80267490 */ csXyz operator-(csXyz&);
|
|
/* 802674E8 */ csXyz operator*(f32);
|
|
s16 GetX() const { return x; }
|
|
s16 GetY() const { return y; }
|
|
s16 GetZ() const { return z; }
|
|
|
|
void set(s16 oX, s16 oY, s16 oZ) {
|
|
x = oX;
|
|
y = oY;
|
|
z = oZ;
|
|
}
|
|
|
|
void setall(s16 val) {
|
|
x = val;
|
|
y = val;
|
|
z = val;
|
|
}
|
|
};
|
|
|
|
#endif /* C_SXYZ_H */
|