summaryrefslogtreecommitdiff
path: root/tests/math/vector.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2014-10-26 08:12:11 -0400
committerDavid Thompson <dthompson2@worcester.edu>2014-10-26 08:15:39 -0400
commit09b5512295a083f1623b632f3c1d3d8e4af5fef3 (patch)
treec338a4799d32c9dddcd4bd1adf518b62bbe493b5 /tests/math/vector.scm
parent3df61eb90202f6d5d1bec51f5ce3ee7b54567bd8 (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 'tests/math/vector.scm')
0 files changed, 0 insertions, 0 deletions