sead
Loading...
Searching...
No Matches
seadQuat.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <math/seadQuatCalcCommon.h>
4
5namespace sead {
6
7template <typename T>
8inline
9Quat<T>::Quat(T w_, T x_, T y_, T z_)
10{
11 QuatCalcCommon<T>::set(*this, w_, x_, y_, z_);
12}
13
14template <typename T>
15inline void
17{
18 QuatCalcCommon<T>::makeUnit(*this);
19}
20
21template <typename T>
22inline bool
23Quat<T>::makeVectorRotation(const Vec3& from, const Vec3& to)
24{
25 return QuatCalcCommon<T>::makeVectorRotation(*this, from, to);
26}
27
28template <typename T>
29inline void
30Quat<T>::set(T w_, T x_, T y_, T z_)
31{
32 QuatCalcCommon<T>::set(*this, w_, x_, y_, z_);
33}
34
35} // namespace sead
Definition seadQuatCalcCommon.h:10
Definition seadQuat.h:10
void makeUnit()
Definition seadQuat.hpp:16
Vector3< T > Vec3
Definition seadQuat.h:13
Quat(T w_, T x_, T y_, T z_)
Definition seadQuat.hpp:9
void set(T w_, T x_, T y_, T z_)
Definition seadQuat.hpp:30
bool makeVectorRotation(const Vec3 &from, const Vec3 &to)
Definition seadQuat.hpp:23
Definition seadAssert.h:44