mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-14 07:48:58 +00:00
Fixed Vector3d::normalize().
This commit is contained in:
parent
338de7fbcd
commit
09259203f7
@ -114,7 +114,7 @@ public:
|
||||
float len = sqrt(dotProduct(x(), y(), z()));
|
||||
if (len != 0.0f) {
|
||||
float t = 1.0f / len;
|
||||
set(x() * t, y() * t, y() * t);
|
||||
set(x() * t, y() * t, z() * t);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user