sead
Loading...
Searching...
No Matches
seadQuatCalcCommon.h
Go to the documentation of this file.
1#ifndef SEAD_QUATCALCCOMMON_H_
2#define SEAD_QUATCALCCOMMON_H_
3
4#include <math/seadMathPolicies.h>
5
6namespace sead {
7
8template <typename T>
10{
11public:
12 typedef typename Policies<T>::QuatBase Base;
13 typedef typename Policies<T>::Vec3Base Vec3;
14
15public:
16 static void makeUnit(Base& q);
17 static bool makeVectorRotation(Base& q, const Vec3& from, const Vec3& to);
18 static void set(Base& q, T w, T x, T y, T z);
19};
20
21} // namespace sead
22
23#ifdef __cplusplus
24
25#include <math/seadQuatCalcCommon.hpp>
26
27#endif // __cplusplus
28
29#endif // SEAD_QUATCALCCOMMON_H_
Definition seadMathPolicies.h:8
Definition seadQuatCalcCommon.h:10
Policies< T >::Vec3Base Vec3
Definition seadQuatCalcCommon.h:13
static void makeUnit(Base &q)
Definition seadQuatCalcCommon.hpp:10
static void set(Base &q, T w, T x, T y, T z)
Definition seadQuatCalcCommon.hpp:40
Policies< T >::QuatBase Base
Definition seadQuatCalcCommon.h:12
static bool makeVectorRotation(Base &q, const Vec3 &from, const Vec3 &to)
Definition seadQuatCalcCommon.hpp:16
Definition seadAssert.h:44