summaryrefslogtreecommitdiff
path: root/2d/transform.scm
Commit message (Collapse)AuthorAgeFilesLines
* Rename guile-2d to Sly!David Thompson2014-06-281-233/+0
| | | | Massive find/replace job.
* Delete transform-position procedure.David Thompson2014-06-201-6/+1
| | | | * 2d/transform (transform-position): Delete it.
* Add support for 3D vectors in translate procedure.David Thompson2014-06-201-6/+19
| | | | * 2d/transform.scm (translate): Support 3D vector as argument.
* Add support for 3D vectors and scalars in scale procedure.David Thompson2014-06-201-6/+25
| | | | * 2d/transform.scm (scale): Support 3D vectors and scalars as arguments.
* Tweak transform API.David Thompson2014-06-101-25/+7
| | | | | | * 2d/transform.scm (make-transform*): Delete it. (transform-translate, transform-scale): Rename. (translate, scale): New procedures.
* Add rotation transformations for x and y axes.David Thompson2014-06-091-5/+17
| | | | | | | * 2d/transform.scm (rotate-x, rotate-y, rotate-z): New procedures. (transform-rotate): Renamed. (make-transform*): Use rotate-z for now.
* Replace vector2 module with a more generic vector module.David Thompson2014-06-071-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | * 2d/vector2.scm: Delete it. * 2d/vector.scm: New file. * Makefile.am (SOURCES): s/vector2/vector. * 2d/font.scm: * 2d/keyboard.scm: * 2d/mouse.scm: * 2d/rect.scm: * 2d/shader.scm: * 2d/sprite.scm: * 2d/texture.scm: * 2d/transform.scm: * 2d/window.scm: * examples/2048/2048: * examples/animation.scm: * examples/coroutine.scm: * examples/font.scm: * examples/particles.scm: * examples/simple.scm: * examples/tilemap.scm: Use vectors instead of defunct vector2.
* Add perspective-projection procedure.David Thompson2014-05-261-1/+28
| | | | * 2d/transform.scm (perspective-projection): New procedure.
* Fix embarrassing issue with transform-translate.David Thompson2014-05-251-4/+4
| | | | * 2d/transform.scm (transform-translate): Correct matrix.
* Add make-transform*.David Thompson2014-05-151-0/+10
| | | | * 2d/transform.scm (make-transform*): New procedure.
* Add transform-position procedure.David Thompson2014-05-021-0/+6
| | | | * 2d/transform.scm (transform-position): New procedure.
* Prefix matrix operations with "transform-".David Thompson2014-05-021-6/+6
| | | | | * 2d/transform.scm (translate, scale, rotate): Renamed. (transform-translate, transform-scale, transform-rotate): New names.
* Change license to GPLv3+.David Thompson2014-03-081-7/+7
|
* Add 4x4 transformation matrix module.David Thompson2014-02-151-0/+169
* 2d/transform.scm: New module. * 2d/shader.scm: Add uniform setter for transforms. * Makefile.am (SOURCES): Add '2d/transform.scm'.