Commit dbf5b5fa authored by David C. Lonie's avatar David C. Lonie
Browse files

Fix c/v qualifier on vtkVector::Normalized and Cross methods.

The templated implementations are const, but the concrete overrides
were not.

Change-Id: Iafd4e32c0d7bd427e1a89b86514c18124519ff93
parent be714c13
......@@ -263,7 +263,7 @@ public:
// Description:
// Some inline functions for the derived types.
#define vtkVectorNormalized(vectorType, type, size) \
vectorType Normalized() \
vectorType Normalized() const \
{ \
return vectorType(vtkVector<type, size>::Normalized().GetData()); \
} \
......@@ -304,7 +304,7 @@ public:
};
#define vtkVector3Cross(vectorType, type) \
vectorType Cross(const vectorType& other) \
vectorType Cross(const vectorType& other) const \
{ \
return vectorType(vtkVector3<type>::Cross(other).GetData()); \
} \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment