|
|
|
@ -140,16 +140,6 @@ class MAGNUM_EXPORT Object { |
|
|
|
multiplyTransformation(Matrix4::scaling(vec), global); |
|
|
|
multiplyTransformation(Matrix4::scaling(vec), global); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* @copydoc scale(Vector3, bool) |
|
|
|
|
|
|
|
* |
|
|
|
|
|
|
|
* Scales the object proportionally in all dimensions. |
|
|
|
|
|
|
|
* @todo Make this functionality in Math::Vector3? |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
inline void scale(GLfloat xyz, bool global = true) { |
|
|
|
|
|
|
|
scale({xyz, xyz, xyz}, global); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* @brief Rotate object |
|
|
|
* @brief Rotate object |
|
|
|
* |
|
|
|
* |
|
|
|
|