| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* 2d/shader.scm (shader-program-attribute-location): Rename.
(attribute-location): Memoize.
|
|
|
|
|
|
|
| |
* 2d/helpers.scm (memoize): New procedure.
* 2d/shader.scm (uniform-location): memoize.
(uniform-set!): Pass symbol instead of string.
|
|
|
|
|
|
|
| |
* 2d/shader.scm (load-shader-procedure): New procedure.
* 2d/font.scm:
* 2d/sprite.scm: Use it.
|
|
|
|
|
| |
* 2d/shader.scm (make-shader-program): Change parameter list.
(vertex-shader?, fragment-shader?): New procedures.
|
|
|
|
| |
* 2d/shader.scm (shader-program-attribute-location): New procedure.
|
|
|
|
| |
* 2d/shader.scm: Export shader-program-id.
|
| |
|
| |
|
|
|
|
| |
* 2d/shader.scm (load-shader): Add exception handling.
|
|
|
|
|
| |
* 2d/shader.scm: Use vec2 instead of vec4 when setting a vector2
uniform value.
|
|
|
|
|
|
| |
* 2d/transform.scm: New module.
* 2d/shader.scm: Add uniform setter for transforms.
* Makefile.am (SOURCES): Add '2d/transform.scm'.
|
|
* 2d/shader.scm: New module.
* Makefile.am: Add 2d/shader.scm to SOURCES.
* examples/shader.scm: New example.
* examples/shaders/fragment-shader.glsl: New shader.
* examples/shaders/vertex-shader.glsl: New shader.
|