alright im not so happy

This commit is contained in:
Milxnor
2023-05-12 17:50:58 -04:00
parent f41be934eb
commit bd87832147
21 changed files with 394 additions and 38 deletions

View File

@@ -20,6 +20,9 @@ public:
return FVector{ this->X - A.X, this->Y - A.Y, this->Z - A.Z };
}
FORCEINLINE FVector operator*(float Scale) const;
FORCEINLINE float SizeSquared() const
{
return X * X + Y * Y + Z * Z;
@@ -49,4 +52,9 @@ public:
{
*this = *this - A;
}
};
};
FORCEINLINE FVector FVector::operator*(float Scale) const
{
return FVector(X * Scale, Y * Scale, Z * Scale);
}