diff options
author | David Thompson <dthompson2@worcester.edu> | 2016-04-25 22:07:15 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2016-04-25 22:07:15 -0400 |
commit | e63e356ec5947f2641b7df33fa47daa782814358 (patch) | |
tree | e17cf8eaf2b79cbdabb5c7cb33d736bc27b914b4 /scripts | |
parent | 9958edd9d61f13b181a9f44ec12f713d5819451a (diff) |
render: Use separate model, view, and projection matrices.
* sly/render.scm: Replace 'model-view' procedures with separate 'model'
and 'view' procedures.
(<graphics>)[model-view]: Delete field.
[model, view]: New fields.
* sly/render/camera.scm (with-camera): Use separate model/view matrices.
* sly/render/shader.scm (%default-shader): Specify model, view, and
projection uniforms.
* sly/render/sprite-batch.scm (sprite-batch-flush!): Use new model,
view, and projection uniforms.
* data/shaders/default-vertex.glsl (model, view, projection): New
uniforms.
(mvp): Delete.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions