summaryrefslogtreecommitdiff
path: root/2d/transform.scm
Commit message (Collapse)AuthorAgeFilesLines
* 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'.