mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-16 03:37:00 +00:00
Standardize include guards, clang-format headers
Former-commit-id: 261ee48bba
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user