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,10 +1,11 @@
#ifndef __CVECTOR2F_HPP__
#define __CVECTOR2F_HPP__
#ifndef _CVECTOR2F
#define _CVECTOR2F
#include "types.h"
class CVector2f {
static const CVector2f skZeroVector;
public:
CVector2f(f32 x, f32 y);
f32 GetX() const { return mX; }
@@ -23,6 +24,7 @@ public:
static float GetAngleDiff(const CVector2f& a, const CVector2f& b);
static float Dot(const CVector2f& a, const CVector2f& b);
private:
f32 mX;
f32 mY;
@@ -35,4 +37,4 @@ CVector2f operator*(const CVector2f& lhs, const float& rhs);
CVector2f operator*(const float& lhs, const CVector2f& rhs);
CVector2f operator/(const CVector2f& lhs, const float& rhs);
#endif // __CVECTOR3F_HPP__
#endif // _CVECTOR2F