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.

struct Curve
@nogc nothrow
long
addPoint
(
in Vector2 position
,
in double left_tangent = 0
,
in double right_tangent = 0
,
in long left_mode = 0
,
in long right_mode = 0
)

Meta