mirror of
https://github.com/encounter/tp.git
synced 2026-07-11 06:18:46 -07:00
* J3DUClipper sinit * sincosTable_ etc * decompile JMATrigonometric sinit * f_op_actor_mng * move f_op_actor_mng and parts of mDo_ext * J3DSys sinit * f_op_scene_req * failed matching attempt for decodeSZS__9JKRDecompFPUcPUcUlUl * mX -> x * fix mCull and fopAcM_prm_class members * fix a few function parameters * move missing NON_MATCHING * remove some unneeded data * turns out that data was not unused * remove unused asm * readd asm deleted by accident
26 lines
630 B
C++
26 lines
630 B
C++
#ifndef C_SXYZ_H
|
|
#define C_SXYZ_H
|
|
|
|
#include "dolphin/types.h"
|
|
|
|
struct SVec {
|
|
s16 x, y, z;
|
|
};
|
|
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; }
|
|
};
|
|
|
|
#endif /* C_SXYZ_H */
|