diff options
author | David Thompson <dthompson2@worcester.edu> | 2014-10-26 08:12:11 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2014-10-26 08:15:39 -0400 |
commit | 09b5512295a083f1623b632f3c1d3d8e4af5fef3 (patch) | |
tree | c338a4799d32c9dddcd4bd1adf518b62bbe493b5 /examples/transition.scm | |
parent | 3df61eb90202f6d5d1bec51f5ce3ee7b54567bd8 (diff) |
mesh: Use new renderer API.
* sly/mesh.scm (<vertex-buffer>, %make-vertex-buffer, vertex-buffer?,
vertex-buffer-id, vertex-buffer-type, vertex-buffer-attr-size,
vertex-buffer-length, generate-vertex-buffer, bind-vertex-buffer,
with-vertex-buffer, vertices-bytevector, attribute-size,
gl-buffer-type, make-vertex-buffer, generate-vertex-array,
with-vertex-array, vertex-attrib-pointer): Remove old vertex
buffer/array procedures.
(mesh-length, draw-mesh): Delete.
(mesh-shader): New procedure.
(make-mesh): Reimplement.
(draw): New method.
* sly/shape.scm (make-cube): Decouple from scene node. Use new mesh
constructor.
* sly/sprite.scm (make-sprite): Likewise.
Diffstat (limited to 'examples/transition.scm')
0 files changed, 0 insertions, 0 deletions