aboutsummaryrefslogtreecommitdiff
path: root/primedev/client
diff options
context:
space:
mode:
authorGeckoEidechse <gecko.eidechse+git@pm.me>2024-08-23 23:24:52 +0200
committerGeckoEidechse <gecko.eidechse+git@pm.me>2024-08-23 23:24:52 +0200
commitd87395a8130c34bb95eea19111e46bdace4c2cd0 (patch)
treee827952268ac29f0c08f0891ddba09af1f089e5e /primedev/client
parentd333a966ed961fca02d80212fe1384cf8600b9cb (diff)
downloadNorthstarLauncher-temp/test-spoon-cmake-formatting.tar.gz
NorthstarLauncher-temp/test-spoon-cmake-formatting.zip
Diffstat (limited to 'primedev/client')
-rw-r--r--primedev/client/debugoverlay.cpp25
1 files changed, 5 insertions, 20 deletions
diff --git a/primedev/client/debugoverlay.cpp b/primedev/client/debugoverlay.cpp
index a67b8355..7f2e0901 100644
--- a/primedev/client/debugoverlay.cpp
+++ b/primedev/client/debugoverlay.cpp
@@ -41,10 +41,7 @@ struct OverlayBase_t
struct OverlayLine_t : public OverlayBase_t
{
- OverlayLine_t()
- {
- m_Type = OVERLAY_LINE;
- }
+ OverlayLine_t() { m_Type = OVERLAY_LINE; }
Vector3 origin;
Vector3 dest;
@@ -57,10 +54,7 @@ struct OverlayLine_t : public OverlayBase_t
struct OverlayBox_t : public OverlayBase_t
{
- OverlayBox_t()
- {
- m_Type = OVERLAY_BOX;
- }
+ OverlayBox_t() { m_Type = OVERLAY_BOX; }
Vector3 origin;
Vector3 mins;
@@ -74,10 +68,7 @@ struct OverlayBox_t : public OverlayBase_t
struct OverlayTriangle_t : public OverlayBase_t
{
- OverlayTriangle_t()
- {
- m_Type = OVERLAY_TRIANGLE;
- }
+ OverlayTriangle_t() { m_Type = OVERLAY_TRIANGLE; }
Vector3 p1;
Vector3 p2;
@@ -91,10 +82,7 @@ struct OverlayTriangle_t : public OverlayBase_t
struct OverlaySweptBox_t : public OverlayBase_t
{
- OverlaySweptBox_t()
- {
- m_Type = OVERLAY_SWEPT_BOX;
- }
+ OverlaySweptBox_t() { m_Type = OVERLAY_SWEPT_BOX; }
Vector3 start;
Vector3 end;
@@ -109,10 +97,7 @@ struct OverlaySweptBox_t : public OverlayBase_t
struct OverlaySphere_t : public OverlayBase_t
{
- OverlaySphere_t()
- {
- m_Type = OVERLAY_SPHERE;
- }
+ OverlaySphere_t() { m_Type = OVERLAY_SPHERE; }
Vector3 vOrigin;
float flRadius;