MATH: Make Vector3d::length const correct

This commit is contained in:
Matthew Duggan 2022-10-15 14:31:00 +09:00
parent acee74a4b7
commit 692a2e166e

View file

@ -109,7 +109,7 @@ public:
* Calculate vector length
* @return The computed length
*/
float length() {
float length() const {
return sqrtf(x() * x() + y() * y() + z() * z());
}