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,16 @@
#ifndef _CLINESEG_HPP
#define _CLINESEG_HPP
#ifndef _CLINESEG
#define _CLINESEG
#include "types.h"
#include "Kyoto/Math/CLine.hpp"
#include "Kyoto/Math/CUnitVector3f.hpp"
#include "Kyoto/Math/CVector3f.hpp"
#include "Kyoto/Math/CLine.hpp"
class CLineSeg : public CLine {
public:
CLineSeg(const CVector3f& start, const CVector3f& end)
: CLine(start, (end - start).AsNormalized())
, x18_end(end) {}
: CLine(start, (end - start).AsNormalized()), x18_end(end) {}
const CVector3f& GetEndPoint() const { return x18_end; }
@@ -20,4 +19,4 @@ private:
};
CHECK_SIZEOF(CLineSeg, 0x24)
#endif
#endif // _CLINESEG