diff options
author | David Thompson <dthompson2@worcester.edu> | 2014-10-19 21:17:57 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2014-10-19 21:17:57 -0400 |
commit | 2a2e64267e267be33cc18bcc5146f8cd77622af3 (patch) | |
tree | 0115b2deac9786022938164e2169d57fb1e48316 /examples/images | |
parent | ae21c9cc5a72b3fe7a3207a82c8a42d464cd4a15 (diff) |
scene: Simplify scene nodes and meshes.
* sly/scene.scm (scene-node-positin, scene-node-scale,
scene-node-rotation, interpolate): Delete.
(with-texture-maybe): New macro.
(draw-scene-node): Remove interpolation logic. Add texture binding.
* sly/mesh.scm (mesh-texture): Delete.
(make-mesh): Remove texture parameter.
(draw-mesh): Remove texture binding.
* sly/shape.scm (make-cube): Wrap mesh in a scene node.
* sly/sprite.scm (make-sprite): Likewise.
Diffstat (limited to 'examples/images')
0 files changed, 0 insertions, 0 deletions