Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/cycles/util/util_transform.h')
-rw-r--r--intern/cycles/util/util_transform.h17
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);