Math: Reverse plane direction (to make it more standard)

This commit is contained in:
SirLynix
2023-06-21 19:50:03 +02:00
parent 9eb4c43997
commit 622b6cbec9
4 changed files with 81 additions and 103 deletions

View File

@@ -259,7 +259,7 @@ namespace Nz
Vector4<T>& Vector4<T>::Normalize(T* length)
{
T invLength = T(1.0) / w;
x *= invLength; // Warning, change this logic will break Frustum::Extract
x *= invLength;
y *= invLength;
z *= invLength;