RaylibView.toFluid

Convert position of a point or rectangle in Raylib space to Fluid space.

  1. Vector2 toFluid(Vector2 position)
  2. Vector2 toFluid(float x, float y)
  3. Rectangle toFluid(Rectangle rectangle)
    class RaylibView(RaylibViewVersion raylibVersion)
    const nothrow
    toFluid

Parameters

rectangle Rectangle

Rectangle in Raylib space.

Return Value

Type: Rectangle

Position in Fluid space

Meta