Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | math: vector: Fix vec2-cross. | David Thompson | 2021-10-02 | 1 | -2/+2 |
| | |||||
* | Move data structure modules into new (chickadee data ...) namespace. | David Thompson | 2021-10-01 | 2 | -485/+0 |
| | |||||
* | math: rect: Fix record type printer. | David Thompson | 2021-10-01 | 1 | -6/+6 |
| | |||||
* | math: rect: Add custom record type printer. | David Thompson | 2021-09-28 | 1 | -0/+8 |
| | |||||
* | math: vector: Deprecate #v syntax and remove uses of it. | David Thompson | 2021-09-21 | 2 | -1/+3 |
| | |||||
* | math: matrix: Remove references to old vec3-dot-product procedure. | David Thompson | 2021-09-08 | 1 | -3/+3 |
| | | | | Oopsies. | ||||
* | math: vector: Rename dot product procedures. | David Thompson | 2021-09-08 | 1 | -4/+4 |
| | |||||
* | math: matrix: Add matrix3-inverse! and matrix3-inverse. | David Thompson | 2021-09-08 | 1 | -0/+47 |
| | |||||
* | math: matrix: Add in-place orthographic/perspective projection procedures. | David Thompson | 2021-05-13 | 1 | -10/+24 |
| | |||||
* | math: matrix: Add look-at/look-at! procedures. | David Thompson | 2021-05-12 | 1 | -0/+23 |
| | |||||
* | math: vector: Minor style tweaks. | David Thompson | 2021-05-12 | 1 | -6/+7 |
| | |||||
* | math: vector: Fix vec3-copy! | David Thompson | 2021-05-12 | 1 | -2/+4 |
| | |||||
* | math: matrix: Fix implementation of matrix4-rotate! | David Thompson | 2021-05-10 | 1 | -15/+21 |
| | |||||
* | math: quaternion: Add rotation->quaternion procedure. | David Thompson | 2021-05-10 | 1 | -1/+17 |
| | |||||
* | math: matrix: Add vec3 support to matrix4-scale! | David Thompson | 2021-05-05 | 1 | -5/+14 |
| | |||||
* | math: rect: Fix make-null-rect so all values are 0 instead of garbage. | David Thompson | 2021-04-07 | 1 | -1/+1 |
| | |||||
* | math: matrix: Add procedures to extract translation from 4x4 matrix. | David Thompson | 2020-12-16 | 1 | -1/+13 |
| | |||||
* | math: matrix: Rename transform! to matrix4-transform! | David Thompson | 2020-12-16 | 1 | -8/+8 |
| | |||||
* | math: grid: Add grid-cell-fold and grid-item-fold procedures. | David Thompson | 2020-11-19 | 1 | -1/+15 |
| | |||||
* | math: quaternion: Remove calls to deleted square procedure. | David Thompson | 2020-11-18 | 1 | -5/+5 |
| | | | | Oops. | ||||
* | math: vector: Add vec2-cross procedure. | David Thompson | 2020-11-13 | 1 | -0/+5 |
| | |||||
* | math: rect: Fix rect-union and rect-clip. | David Thompson | 2020-11-13 | 1 | -4/+4 |
| | |||||
* | math: rect: Fix rect-inflate. | David Thompson | 2020-10-15 | 1 | -2/+3 |
| | |||||
* | math: matrix: Add 3x3 matrix. | David Thompson | 2020-10-15 | 1 | -106/+345 |
| | |||||
* | math: rect: Export make-null-rect. | David Thompson | 2020-10-15 | 1 | -0/+1 |
| | |||||
* | math: rect: Move functional procedures after the imperative ones. | David Thompson | 2020-10-15 | 1 | -56/+61 |
| | | | | | The functional procedures weren't working because of a quirk with Guile's handling of the top level. | ||||
* | math: vector: Add origin argument to vec2/polar. | David Thompson | 2020-10-13 | 1 | -3/+4 |
| | |||||
* | math: vector: Add vec2= and vec3= procedures. | David Thompson | 2020-10-13 | 1 | -0/+11 |
| | |||||
* | math: rect: Fix rect-union when one of the rectangles has no area. | David Thompson | 2020-10-13 | 1 | -8/+18 |
| | | | | | Rectangles that have no area shouldn't be considered as part of the union. | ||||
* | math: Delete square procedure. | David Thompson | 2020-10-11 | 1 | -4/+4 |
| | | | | It's just not useful. | ||||
* | math: grid: Export grid-rect-ref. | David Thompson | 2020-10-11 | 1 | -0/+1 |
| | |||||
* | math: vector: Add vec3 cross product procedures. | David Thompson | 2019-10-11 | 1 | -0/+16 |
| | |||||
* | math: vector: Add vec3 arithmetic procedures. | David Thompson | 2019-10-11 | 1 | -0/+21 |
| | |||||
* | math: matrix: Add procedures for X and Y axis rotations. | David Thompson | 2019-10-11 | 1 | -0/+30 |
| | |||||
* | math: matrix: Add transform-x and transform-y procedures. | David Thompson | 2019-01-06 | 1 | -8/+17 |
| | | | | * chickadee/math/matrix.scm (transform-x, transform-y): New procedures. | ||||
* | math: rect: Add make-rect alias. | David Thompson | 2018-12-13 | 1 | -2/+4 |
| | | | | * chickadee/math/rect.scm (rect): New procedure. | ||||
* | math: vector: Add set-vec2! and set-vec3! procedures. | David Thompson | 2018-12-13 | 1 | -5/+11 |
| | | | | | * chickadee/math/vector.scm (set-vec2!, set-vec3!): New procedures. * doc/api.texi (Vectors): Document them. | ||||
* | math: grid: Simplify a formula. | David Thompson | 2018-12-09 | 1 | -2/+2 |
| | | | | | * chickadee/math/grid.scm (slide): Simplify formula for setting new goal coordinates. | ||||
* | math: grid: A couple more optimizations. | David Thompson | 2018-12-02 | 1 | -4/+3 |
| | | | | | | | * chickadee/math/grid.scm (make-grid): Set a high minimum bucket size to avoid rehashing. (grid-move): Use memoized inexact->exact procedure. Fix return value of check procedure being ignored. | ||||
* | math: grid: Refactor to improve performance a little bit. | David Thompson | 2018-12-02 | 1 | -173/+163 |
| | | | | | | | | There's still a lot of work needed to make the collision grid scale to any reasonable number of moving objects, but this is a first step. * chickadee/math/grid.scm: Big ol' refactor that I can't be bothered to list all the changes for. | ||||
* | Move pathfinding module to math directory. | David Thompson | 2018-10-03 | 1 | -0/+77 |
| | |||||
* | math: grid: Fix docstring in grid-move. | David Thompson | 2018-10-02 | 1 | -1/+1 |
| | |||||
* | math: matrix: Fix a few docstrings. | David Thompson | 2018-09-27 | 1 | -3/+3 |
| | | | | * chickadee/math/matrix.scm: Fix mistakes in docstrings. | ||||
* | math: vector: Fix vec2-normalize and vec3-normalize. | David Thompson | 2018-09-10 | 1 | -12/+12 |
| | | | | | | * chickadee/math/vector.scm: Move vec2-normalize and vec3-normalize below the definitions of vec2-normalize! and vec3-normalize! so that inlining doesn't screw things up. | ||||
* | math: vector: Add vec2*, vec2+, and vec2- procedures. | David Thompson | 2018-09-10 | 1 | -0/+21 |
| | | | | * chickadee/math/vector.scm (vec2*, vec2+, vec2-): New procedures. | ||||
* | math: Add grid module. | David Thompson | 2018-09-02 | 1 | -0/+404 |
| | | | | | | | * chickadee/math/grid.scm: New file. * examples/grid.scm: New file. * Makefile.am (SOURCES): Add grid module. (EXTRA_DIST): Add grid example. | ||||
* | Add bezier curve module. | David Thompson | 2018-08-29 | 1 | -0/+82 |
| | | | | | * chickadee/math/bezier.scm: New file. * Makefile.am (SOURCES): Add it. | ||||
* | math: vector: Add read syntax. | David Thompson | 2018-08-23 | 1 | -0/+26 |
| | | | | | | | | | * chickadee/math/vector.scm (read-vec): New procedure. Extend reader. * examples/lines.scm: Use new vector read syntax. * examples/nine-patch.scm: Ditto. * examples/sprite.scm: Ditto. * examples/text.scm: Ditto. * examples/tiled.scm: Ditto. | ||||
* | math: matrix: Fix typos in matrix4-2d-transform! | David Thompson | 2018-01-17 | 1 | -2/+2 |
| | | | | * chickadee/math/matrix.scm (matrix4-2d-transform!): Fix bad typos! | ||||
* | math: matrix: Add matrix4-2d-transform! procedure. | David Thompson | 2018-01-17 | 1 | -0/+42 |
| | | | | * chickadee/math/matrix.scm (matrix4-2d-transform): New procedure. |