reviewed ALL non-external files to follow raylib's convention of no spaces around / or * (#5153)
This commit is contained in:
parent
507c85900f
commit
0e73e0ea64
34 changed files with 122 additions and 122 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue