Browse Source

Removed Object::setTransformationFrom().

It was confusing anyway and I can't currently think about any
real use-case of this.
vectorfields
Vladimír Vondruš 14 years ago
parent
commit
fd1d8e7717
  1. 11
      src/Object.h

11
src/Object.h

@ -111,17 +111,6 @@ class MAGNUM_EXPORT Object {
setTransformation(global ? transformation*_transformation : _transformation*transformation);
}
/**
* @brief Set transformation and parent from another object
*
* Sets parent and transformation from another object, so they will
* appear in the same place.
*/
inline void setTransformationFrom(Object* another) {
setParent(another->parent());
setTransformation(another->transformation());
}
/**
* @brief Translate object
*

Loading…
Cancel
Save