calibrate

fun calibrate()

Calibrates the properties of this instance. If the direction cannot be normalized, it will take the value of Vector2F(x=1, y=0).

Transformations and operations involving floating point numbers may introduce various inaccuracies that can be countered by this method.