Some cleanups

This commit is contained in:
Oleg Kalachev
2023-11-11 06:15:20 +03:00
parent 8dad0a0918
commit 70eae3e556
3 changed files with 32 additions and 33 deletions

View File

@@ -32,7 +32,7 @@ public:
z /= n;
}
Vector operator * (float b)
Vector operator * (const float b) const
{
return Vector(x * b, y * b, z * b);
}