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(const Vector2f center)
    class Transformable
    final @nogc
    void
    setRotationCenter
    pure nothrow
    (
    const Vector2f center
    )

Meta