position

fun position(t: Double): Vector2(source)

Calculates the position of a point along the arc at a specified parameter t. The parameter t interpolates between the starting and ending angles of the arc.

Return

The position of the point on the arc as a Vector2.

Parameters

t

A parameter ranging from 0.0 to 1.0, where 0.0 corresponds to the starting point of the arc and 1.0 corresponds to the ending point of the arc.