From d54995cad9ddf652cd2f7abb128d5d251f9454f1 Mon Sep 17 00:00:00 2001
From: David Thompson Apply PROC with each item in array-list.
+ Apply proc with each item in array-list.
#t
the
diff --git a/manuals/chickadee/Index.html b/manuals/chickadee/Index.html
index 99a7806..bc184bd 100644
--- a/manuals/chickadee/Index.html
+++ b/manuals/chickadee/Index.html
@@ -107,6 +107,8 @@ Previous: Copying Th
I
+J
+
K
L
@@ -380,6 +382,9 @@ Previous: Copying Th
index-buffer?
: Buffers int
: Shaders
+
+J
+join
: Scripts K key-pressed?
: Input Devices
@@ -487,6 +492,8 @@ Previous: Copying Th
key-released?
: Input Devices material-texture-4
: Meshes material?
: Meshes
+matrix3*
: Matrices
+matrix3-copy
: Matrices matrix3-copy!
: Matrices matrix3-identity!
: Matrices matrix3-inverse
: Matrices
@@ -499,10 +506,15 @@ Previous: Copying Th
matrix3-inverse!
: Matrices matrix3-transform!
: Matrices matrix3-translate
: Matrices
+matrix3-translate!
: Matrices matrix3=
: Matrices matrix3?
: Matrices matrix4*
: Matrices
+matrix4-2d-transform!
: Matrices
+matrix4-copy
: Matrices matrix4-copy!
: Matrices
+matrix4-identity!
: Matrices
+matrix4-inverse
: Matrices matrix4-inverse!
: Matrices matrix4-mult!
: Matrices matrix4-rotate
: Matrices
@@ -513,6 +525,7 @@ Previous: Copying Th
matrix4-rotate!
: Matrices matrix4-transform!
: Matrices matrix4-translate
: Matrices
+matrix4-translate!
: Matrices matrix4=
: Matrices matrix4?
: Matrices maximize-window!
: Window Manipulation
@@ -977,6 +990,8 @@ Previous: Copying Th
I
+J
+
K
L
diff --git a/manuals/chickadee/Invoking-chickadee-play.html b/manuals/chickadee/Invoking-chickadee-play.html
index 0c9c065..2841c18 100644
--- a/manuals/chickadee/Invoking-chickadee-play.html
+++ b/manuals/chickadee/Invoking-chickadee-play.html
@@ -98,8 +98,7 @@ the Chickadee game contained within a Scheme source file.
events from the game loop:
mesh-name
: Meshes
--repl
Launch a REPL in the terminal. This will allow the game environment -to debugged and modified without having to stop and restart the game -after each change. +to be debugged and modified without having to stop and restart the +game after each change.
--repl-server[=port]
M-x connect-to-guile
to connect to the
REPL server.
+
+--language=language
Process the input program using language, the identifier of a +language within Guile’s language tower. By default, unsurprisingly, +Scheme is used. +
+For example, to use the neat
+Wisp language as an
+alternative to Scheme’s parenthetical syntax, pass
+--language=wisp
. Wisp is not included with Guile and must be
+installed separately.
+
-x extension
Add extension to the list of file extensions that Guile will +load. +
+For example, Wisp files canonically use the .w extension. +Here’s what a “hello, world” Chickadee program looks like in Wisp: +
+define : draw alpha + draw-text "Hello, world!" : vec2 260.0 240.0 +
Assuming the above code is saved to a hello.w file,
+chickadee play
be invoked as follows:
+
chickadee play --language=wisp -x .w hello.w +
Return #t
if obj is a 3x3 matrix.
Return #t
if m1 is the same matrix as m2.
+
Return a new 3x3 matrix that is a copy of matrix. +
Return a new 3x3 matrix containing the product of multiplying all of @@ -171,6 +181,11 @@ matrix matrix.
The following procedures perform in-place, destructive updates to 3x3 matrix objects:
+Copy the contents of matrix src to dest. +
Modify matrix in-place to contain the identity matrix. @@ -246,6 +261,16 @@ equivalent to the following code:
Return #t
if obj is a 4x4 matrix.
Return #t
if m1 is the same matrix as m2.
+
Return a new 4x4 matrix that is a copy of matrix. +
Return a new 4x4 matrix containing the product of multiplying all of @@ -254,6 +279,14 @@ the given matrices.
Note: Remember that matrix multiplication is not commutative!
Return the inverse of matrix. +
+A matrix multiplied by its inverse is the identity matrix, thought not +always exactly due to the nature of floating point numbers. +
The following procedures perform in-place, destructive updates to 4x4 +matrix objects: +
+Copy the contents of matrix src to dest. +
Modify matrix in-place to contain the identity matrix. @@ -308,6 +349,12 @@ axis defined by the quaternion q. the result in the 4x4 matrix dest.
Compute the inverse of matrix and store the result in +target. +
Modify matrix in-place to contain a translation by x, a 2D @@ -334,12 +381,12 @@ axis defined by the quaternion q.
Modify matrix in-place to contain the transformation described by position, a 2D vector or rectangle, rotation, a scalar representing a rotation about the Z axis, scale, a 2D vector, -and skew, a 2D vector. The transformation happens with respect +and shear, a 2D vector. The transformation happens with respect to origin, a 2D vector. If an argument is not provided, that particular transformation will not be included in the result.
Suspend the current script until script has terminated. +
Wait duration before resuming the current script.
diff --git a/manuals/chickadee/Sprites.html b/manuals/chickadee/Sprites.html
index 2575e87..6069f8f 100644
--- a/manuals/chickadee/Sprites.html
+++ b/manuals/chickadee/Sprites.html
@@ -98,15 +98,16 @@ interface for working with sprites. Bitmaps are stored in textures
draw-sprite
procedure.
Draw texture at position.
Optionally, other transformations may be applied to the sprite. rotation specifies the angle to rotate the sprite, in radians. -scale specifies the scaling factor as a 2D vector. All -transformations are applied relative to origin, a 2D vector, -which defaults to the lower-left corner. +scale specifies the scaling factor as a 2D vector. shear +specifies the shearing factor as a 2D vector. All transformations are +applied relative to origin, a 2D vector, which defaults to the +lower-left corner.
tint specifies the color to multiply against all the sprite’s pixels. By default white is used, which does no tinting at all. @@ -159,7 +160,7 @@ are full to accomodate as many sprites as necessary.
white
] [#:texture-region]white
]Add sprite located at position to batch.
diff --git a/manuals/chickadee/The-Game-Loop.html b/manuals/chickadee/The-Game-Loop.html index d18ad0d..7d7acfb 100644 --- a/manuals/chickadee/The-Game-Loop.html +++ b/manuals/chickadee/The-Game-Loop.html @@ -277,18 +277,16 @@ values are:The default behavior is to re-throw the error. +
If no error handler is specified, exceptions will simply be re-raised.