diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-03-08 06:04:52 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-03-10 08:27:19 +0300 |
commit | db333d9ea4881d9f48e3cc4b1ec59b4dafb27cc0 (patch) | |
tree | 6ac02ba4a284e6196ed345be775cbad6436f5d7f /intern/cycles/util | |
parent | 78c2063685cb6e0d0bcb895cf4eb70686455d596 (diff) |
Cycles: support arbitrary number of motion blur steps for objects.
Diffstat (limited to 'intern/cycles/util')
-rw-r--r-- | intern/cycles/util/util_transform.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/intern/cycles/util/util_transform.h b/intern/cycles/util/util_transform.h index ade74364876..987f4dac777 100644 --- a/intern/cycles/util/util_transform.h +++ b/intern/cycles/util/util_transform.h @@ -37,12 +37,6 @@ typedef struct Transform { #endif } Transform; -typedef struct ccl_may_alias MotionTransform { - Transform pre; - Transform mid; - Transform post; -} MotionTransform; - /* Transform decomposed in rotation/translation/scale. we use the same data * structure as Transform, and tightly pack decomposition into it. first the * rotation (4), then translation (3), then 3x3 scale matrix (9). */ @@ -51,12 +45,6 @@ typedef struct DecomposedTransform { float4 x, y, z, w; } DecomposedTransform; -typedef struct ccl_may_alias DecomposedMotionTransform { - DecomposedTransform pre; - DecomposedTransform mid; - DecomposedTransform post; -} DecomposedMotionTransform; - /* Functions */ ccl_device_inline float3 transform_point(const Transform *t, const float3 a) @@ -443,11 +431,6 @@ ccl_device_inline bool operator==(const DecomposedTransform& A, const Decomposed return memcmp(&A, &B, sizeof(DecomposedTransform)) == 0; } -ccl_device_inline bool operator==(const MotionTransform& A, const MotionTransform& B) -{ - return (A.pre == B.pre && A.post == B.post); -} - float4 transform_to_quat(const Transform& tfm); void transform_motion_decompose(DecomposedTransform *decomp, const Transform *motion, size_t size); Transform transform_from_viewplane(BoundBox2D& viewplane); |