summaryrefslogtreecommitdiff
path: root/examples/mines
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2015-09-09 09:02:40 -0400
committerDavid Thompson <dthompson2@worcester.edu>2015-09-09 09:02:40 -0400
commit5b8f43d7a5cad91e81e85b81f3fc41a80f84c647 (patch)
tree3ba066b99d19bbb650238a5e862e2bfa6f81fb69 /examples/mines
parentafe98dbcd760a15eb70b8f39cddf34a8dddd761f (diff)
render: Add separate projection and model-view matrix stacks.
Just like the Opengl 2.x days! ;) * sly/render.scm (graphics-transform, graphics-transform-mul!, graphics-transform-identity!): Delete. (graphics-model-view-transform, graphics-model-view-mul!, graphics-model-view-identity!, graphics-projection-transform, graphics-projection-mul!, graphics-projection-identity!): New procedures. (with-model-view-excursion, with-projection-excursion): New syntax. (call-with-transform-excursion): Move matrix copying out of the "in guard." (draw-scene): Use new matrix stacks.
Diffstat (limited to 'examples/mines')
0 files changed, 0 insertions, 0 deletions