Transformable.setRotationCenter

Sets the center of the rotation

Note: if you use this function with setOrigin, the origin takes the place of the rotation center.

  1. void setRotationCenter(float x, float y)
  2. void setRotationCenter(Vector2f center)
    class Transformable
    final @nogc pure nothrow
    void
    setRotationCenter

Meta