From 279f17ac0e1b3d019c2b294098e834d249376686 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Tue, 4 Jun 2019 20:49:16 -0400 Subject: Update chickadee manual. --- manuals/chickadee/Bezier-Curves.html | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) (limited to 'manuals/chickadee/Bezier-Curves.html') diff --git a/manuals/chickadee/Bezier-Curves.html b/manuals/chickadee/Bezier-Curves.html index 6a49b59..ff04e6b 100644 --- a/manuals/chickadee/Bezier-Curves.html +++ b/manuals/chickadee/Bezier-Curves.html @@ -1,6 +1,6 @@ - @@ -110,39 +112,39 @@ mostly for visualizing and debugging curves that would be unseen in the final game. See See Lines and Shapes for more information.

-
Procedure: make-bezier-curve p0 p1 p2 p3
+
Procedure: make-bezier-curve p0 p1 p2 p3

Return a new Bezier curve object whose starting point is p0, ending point is p3, and control points are p1 and p2. All points are 2D vectors.

-
Procedure: bezier-curve? obj
+
Procedure: bezier-curve? obj

Return #t if obj is a Bezier curve.

-
Procedure: bezier-curve-p0 bezier
+
Procedure: bezier-curve-p0 bezier

Return the starting point of bezier.

-
Procedure: bezier-curve-p1 bezier
+
Procedure: bezier-curve-p1 bezier

Return the first control point of bezier.

-
Procedure: bezier-curve-p2 bezier
+
Procedure: bezier-curve-p2 bezier

Return the second control point of bezier.

-
Procedure: bezier-curve-p3 bezier
+
Procedure: bezier-curve-p3 bezier

Return the end point of bezier.

-
Procedure: bezier-path . control-points
+
Procedure: bezier-path . control-points

Return a list of connected bezier curves defined by control-points. The first curve is defined by the first 4 arguments and every additional curve thereafter requires 3 additional @@ -150,14 +152,14 @@ arguments.

-
Procedure: bezier-curve-point-at bezier t
+
Procedure: bezier-curve-point-at bezier t

Return the coordinates for bezier at t (a value in the range [0, 1] representing how far from the start of the curve to check) as a 2D vector.

-
Procedure: bezier-curve-point-at! dest bezier t
+
Procedure: bezier-curve-point-at! dest bezier t

Modify the 2D vector dest in-place to contain the coordinates for bezier at t.

-- cgit v1.2.3