#include "debugging/debugging.h"
#include <set>
+#include <limits>
#include "math/frustum.h"
#include "string/string.h"
Vector3 right;
};
-const std::size_t BEZIERCURVETREE_MAX_INDEX = 1 << ((sizeof(std::size_t) * 8) - 1);
+const std::size_t BEZIERCURVETREE_MAX_INDEX = std::size_t(1) << (std::numeric_limits<std::size_t>::digits - 1);
struct BezierCurveTree
{
TransformNode(other),
Bounded(other),
Cullable(other),
+ Snappable(),
Undoable(other),
Filterable(other),
Nameable(other),
if(m_dragPlanes.isSelected()) // this should only be true when the transform is a pure translation.
{
- m_patch.transform(m_dragPlanes.evaluateTransform(matrix.t()));
+ m_patch.transform(m_dragPlanes.evaluateTransform(vector4_to_vector3(matrix.t())));
}
}