mirror of
https://github.com/zeldaret/ss
synced 2026-05-29 08:42:57 -04:00
9d68802507
* d_a_e_sm (chu chu) start * progress, includes LightParam addition in BlurPaletteMgr * oops - TBox Progress I guess * dAcEsm_c::actorExecute and Particle Resource data moved * step in symbols map * Update blur_and_palette_manager.h * m_angle cleanup pass * Last explicit_zero_data Fixes #69 * add mQuat_c ctor
32 lines
735 B
C++
32 lines
735 B
C++
#ifndef M_QUAT_H
|
|
#define M_QUAT_H
|
|
|
|
#include "egg/math/eggQuat.h"
|
|
#include "m/m_vec.h"
|
|
|
|
class mQuat_c : public EGG::Quatf {
|
|
public:
|
|
mQuat_c() {}
|
|
mQuat_c(f32 x, f32 y, f32 z, f32 w) : EGG::Quatf(w, x, y, z) {}
|
|
mQuat_c(const mQuat_c &other) : EGG::Quatf(other.w, other.v) {}
|
|
mQuat_c(const mVec3_c &v, f32 w) : EGG::Quatf(w, v) {}
|
|
|
|
mQuat_c &operator=(const EGG::Quatf &rhs) {
|
|
v = rhs.v;
|
|
w = rhs.w;
|
|
return *this;
|
|
}
|
|
|
|
mQuat_c &operator=(const mQuat_c &rhs) {
|
|
v = rhs.v;
|
|
w = rhs.w;
|
|
return *this;
|
|
}
|
|
|
|
bool Set(const mVec3_c &, const mVec3_c &);
|
|
void fn_802F2780(const mQuat_c &other);
|
|
bool fn_802F2450(const mVec3_c &, const mVec3_c &, f32);
|
|
};
|
|
|
|
#endif
|