TriMesh::getNormalDerivative(): fixed conditional statement

metadata
Wenzel Jakob 2014-05-22 14:19:29 +02:00
parent 90423fa40a
commit ffdf5692b9
1 changed files with 1 additions and 1 deletions

View File

@ -802,7 +802,7 @@ void TriMesh::getNormalDerivative(const Intersection &its,
dndu = (n1 - n0) * il; dndu -= N * dot(N, dndu); dndu = (n1 - n0) * il; dndu -= N * dot(N, dndu);
dndv = (n2 - n0) * il; dndv -= N * dot(N, dndv); dndv = (n2 - n0) * il; dndv -= N * dot(N, dndv);
if (m_tangents) { if (m_texcoords) {
/* Compute derivatives with respect to a specified texture /* Compute derivatives with respect to a specified texture
UV parameterization. */ UV parameterization. */
const Point2 const Point2