Standardize include guards, clang-format headers

Former-commit-id: 261ee48bba
This commit is contained in:
2022-10-09 01:13:17 -04:00
parent 68d30b954d
commit 7f83e1fa03
341 changed files with 1373 additions and 1256 deletions

View File

@@ -1,17 +1,19 @@
#ifndef _CAXISANGLE_HPP
#define _CAXISANGLE_HPP
#ifndef _CAXISANGLE
#define _CAXISANGLE
#include "types.h"
#include <math.h>
#include "Kyoto/Math/CVector3f.hpp"
#include "Kyoto/Math/CUnitVector3f.hpp"
#include "Kyoto/Math/CVector3f.hpp"
#include <math.h>
class CAxisAngle {
static const CAxisAngle sIdentity;
friend CAxisAngle operator+(const CAxisAngle&, const CAxisAngle&);
friend CAxisAngle operator*(const CAxisAngle&, const float&);
friend CAxisAngle operator*(const float&, const CAxisAngle&);
public:
CAxisAngle() : mVector(CVector3f::Zero()) {}
explicit CAxisAngle(const CVector3f& vec);
@@ -25,14 +27,15 @@ public:
const CAxisAngle& operator*=(const float& rhs);
const CAxisAngle& operator+=(const CAxisAngle& rhs);
private:
CVector3f mVector;
};
CAxisAngle operator+(const CAxisAngle& lhs, const CAxisAngle& rhs);
CAxisAngle operator*(const CAxisAngle& lhs,const float& rhs);
CAxisAngle operator*(const CAxisAngle& lhs, const float& rhs);
CAxisAngle operator*(const float& rhs, const CAxisAngle& lhs);
CHECK_SIZEOF(CAxisAngle, 0xc)
#endif
#endif // _CAXISANGLE