Browse Source

Removed Object::scale(GLfloat, bool), as Vector can be used directly.

vectorfields
Vladimír Vondruš 14 years ago
parent
commit
8b7d0891d4
  1. 10
      src/Object.h

10
src/Object.h

@ -140,16 +140,6 @@ class MAGNUM_EXPORT Object {
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
*

Loading…
Cancel
Save