diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2019-10-20 13:03:54 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2019-10-20 13:03:54 +0200 |
commit | a676a5f6e67dde0fa98690112e006bb2e33f974a (patch) | |
tree | 5553d3bb41e1ea03d400e19a97d4f5ae7565ee17 /TestDLL | |
parent | 4c1350f83f73aa77ef694cac211a57c3b2e2f539 (diff) |
added Ang3 and Quat required GetWorldAngles/GetWorldRotation
Diffstat (limited to 'TestDLL')
-rw-r--r-- | TestDLL/HuntClasses.h | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/TestDLL/HuntClasses.h b/TestDLL/HuntClasses.h index 96d161a..0de811c 100644 --- a/TestDLL/HuntClasses.h +++ b/TestDLL/HuntClasses.h @@ -151,6 +151,24 @@ public: }; typedef Vec3_tpl<float> Vec3; +template<typename F> struct Ang3_tpl + : INumberVector<F, 3, Ang3_tpl<F>> +{ +public: + F x, y, z; + Ang3_tpl(F vx, F vy, F vz) : x(vx), y(vy), z(vz) {} +}; +typedef Ang3_tpl<float> Ang3; + +template<typename F> struct Quat_tpl + : INumberVector<F, 4, Quat_tpl<F>> +{ +public: + Vec3_tpl<F> v; + F w; +}; +typedef Quat_tpl<float> Quat; + class Matrix34 { public: float m00; @@ -256,8 +274,8 @@ public: virtual const Vec3& GetScale() const = 0; virtual void fn_21(void) = 0; virtual Vec3 GetWorldPos() const = 0; - virtual void fn_22(void) const = 0; - virtual void fn_23(void) const = 0; + virtual Ang3 GetWorldAngles() const = 0; + virtual Quat GetWorldRotation() const = 0; virtual Vec3 GetWorldScale() const = 0; }; |