pub fn clamp_x(x: Float, radius: Float, bounds: Bounds) -> Float
pub const genuine_impact_velocity: Float
pub fn resolve_axis(
position: Float,
velocity: Float,
min: Float,
max: Float,
on_low: fn(Float) -> Float,
on_high: fn(Float) -> Float,
) -> #(Float, Float)
pub fn resolve_high_only(
position: Float,
velocity: Float,
max: Float,
on_high: fn(Float) -> Float,
) -> #(Float, Float)
pub const restitution: Float
pub fn x_fraction(world_x: Float, bounds: Bounds) -> Float
pub fn x_from_canvas_pixel(
pixel_x: Float,
canvas_width: Float,
bounds: Bounds,
) -> Float
pub fn y_fraction_from_top(
world_y: Float,
bounds: Bounds,
) -> Float