RaylibView.toFluid

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

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

Parameters

position Vector2

Raylib position, where each coordinate is specified in screen dots.

Return Value

Type: Vector2

Position in Fluid space

Meta