it kinda work

This commit is contained in:
Milxnor
2023-04-05 07:55:28 -04:00
parent bd4a8da94f
commit 0aa6c49580
25 changed files with 1247 additions and 219 deletions

View File

@@ -17,6 +17,16 @@ public:
return FVector{ this->X - A.X, this->Y - A.Y, this->Z - A.Z };
}
FORCEINLINE float SizeSquared() const
{
return X * X + Y * Y + Z * Z;
}
FORCEINLINE float operator|(const FVector& V) const
{
return X * V.X + Y * V.Y + Z * V.Z;
}
FVector operator*(const float A)
{
return FVector{ this->X * A, this->Y * A, this->Z * A };