Function Curve.addPoint
Adds a point to the curve. For each side, if the *_mode is constant TANGENT_LINEAR, the *_tangent angle (in degrees) uses the slope of the curve halfway to the adjacent point. Allows custom assignments to the *_tangent angle if *_mode is set to constant TANGENT_FREE.
long addPoint
(
const(Vector2) position,
const(double) left_tangent = 0.00000,
const(double) right_tangent = 0.00000,
const(long) left_mode = 0L,
const(long) right_mode = 0L
) nothrow @nogc;