Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/util/util_transform.cpp
| Context not available. | |||||
| /* Ensure rotation around shortest angle, negated quaternions are the same | /* Ensure rotation around shortest angle, negated quaternions are the same | ||||
| * but this means we don't have to do the check in quat_interpolate */ | * but this means we don't have to do the check in quat_interpolate */ | ||||
| if (dot(decomp[i - 1].x, decomp[i].x) < 0.0f) | if (dot(decomp[i - 1].x, decomp[i].x) < 0.0f) | ||||
| decomp[i - 1].x = -decomp[i - 1].x; | decomp[i].x = -decomp[i].x; | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| Context not available. | |||||