mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
it kinda work
This commit is contained in:
@@ -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 };
|
||||
|
||||
Reference in New Issue
Block a user