You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
...
// Change the normal from object space to world spaceautonormal = rec.normalnormal[0] = cos_theta*rec.normal[0] + sin_theta*rec.normal[2];
normal[2] = -sin_theta*rec.normal[0] + cos_theta*rec.normal[2];
...
should be:
...
// Change the normal from object space to world spaceautonormal = rec.normal;
normal[0] = cos_theta*rec.normal[0] + sin_theta*rec.normal[2];
normal[2] = -sin_theta*rec.normal[0] + cos_theta*rec.normal[2];
...
The text was updated successfully, but these errors were encountered:
Missing semicolon in Listting 68:
should be:
The text was updated successfully, but these errors were encountered: