mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-29 22:48:31 +00:00
reviewed ALL non-external files to follow raylib's convention of no spaces around / or * (#5153)
This commit is contained in:
@@ -3722,7 +3722,7 @@ void GenMeshTangents(Mesh *mesh)
|
||||
}
|
||||
|
||||
// Gram-Schmidt orthogonalization to make tangent orthogonal to normal
|
||||
// T_prime = T - N * dot(N, T)
|
||||
// T_prime = T - N*dot(N, T)
|
||||
Vector3 orthogonalized = Vector3Subtract(tangent, Vector3Scale(normal, Vector3DotProduct(normal, tangent)));
|
||||
|
||||
// Handle cases where orthogonalized vector is too small
|
||||
|
Reference in New Issue
Block a user