Class

ArcSpline.Arc

Source set: Common
class Arc
internal constructor(
    mode: Int,
    val time1: Float,
    val time2: Float,
    private val x1: Float,
    private val y1: Float,
    private val x2: Float,
    private val y2: Float,
)

Functions

setPoint

fun setPoint(time: Float)

calcX

inline fun calcX(): Float

calcY

inline fun calcY(): Float

calcDX

fun calcDX(): Float

calcDY

fun calcDY(): Float

getLinearX

fun getLinearX(time: Float): Float

getLinearY

fun getLinearY(time: Float): Float

Last updated: