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