Index: Source/platform/transforms/RotateTransformOperation.h |
diff --git a/Source/platform/transforms/RotateTransformOperation.h b/Source/platform/transforms/RotateTransformOperation.h |
index 83cd81234706c1e392a9975353734f664ee7945b..2ffe48f8f0c82beb6f71ad0e4e308476e60e81ab 100644 |
--- a/Source/platform/transforms/RotateTransformOperation.h |
+++ b/Source/platform/transforms/RotateTransformOperation.h |
@@ -46,11 +46,16 @@ public: |
double z() const { return m_z; } |
double angle() const { return m_angle; } |
-private: |
- virtual bool isIdentity() const OVERRIDE { return !m_angle; } |
+ bool hasZeroAxis() const; |
Ian Vollick
2014/06/17 15:54:56
nit: now that you've got ::axis() below, maybe we
awoloszyn
2014/06/17 20:06:02
Done.
|
+ FloatPoint3D axis() const; |
+ static bool shareSameAxis(const RotateTransformOperation* fromRotation, const RotateTransformOperation* toRotation, FloatPoint3D* axis, double* fromAngle, double* toAngle); |
+ virtual bool canInterpolateWith(const TransformOperation& other) const; |
virtual OperationType type() const OVERRIDE { return m_type; } |
+private: |
+ virtual bool isIdentity() const OVERRIDE { return !m_angle; } |
+ |
virtual bool operator==(const TransformOperation& o) const OVERRIDE |
{ |
if (!isSameType(o)) |