diff options
Diffstat (limited to 'intern/cycles/util/util_transform.h')
-rw-r--r-- | intern/cycles/util/util_transform.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/cycles/util/util_transform.h b/intern/cycles/util/util_transform.h index d3bfb1d5752..32b3b28f4d6 100644 --- a/intern/cycles/util/util_transform.h +++ b/intern/cycles/util/util_transform.h @@ -422,6 +422,7 @@ ccl_device void transform_motion_array_interpolate(Transform *tfm, transform_compose(tfm, &decomp); } +#ifdef __EMBREE__ ccl_device void transform_motion_array_interpolate_straight(Transform *tfm, const ccl_global DecomposedTransform *motion, uint numsteps, float time) { /* Figure out which steps we need to interpolate. */ @@ -441,6 +442,7 @@ ccl_device void transform_motion_array_interpolate_straight(Transform *tfm, cons tfm->y = (1.0f - t) * step1.y + t * step2.y; tfm->z = (1.0f - t) * step1.z + t * step2.z; } +#endif #ifndef __KERNEL_GPU__ |