diff options
author | David Thompson <dthompson2@worcester.edu> | 2018-09-06 12:19:22 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2018-09-06 12:19:22 -0400 |
commit | bafb3b241cd0c07a41e932caa195a3a1144f7167 (patch) | |
tree | 928b8317d70b285f99f5c267f5331714df4f0950 /examples/fonts/good_neighbors_starling.png | |
parent | 7703e6646b2ea3db978bb1f749b2eb5b257867de (diff) |
render: scene: Stop allocating matrices when rendering.
* chickadee/render/scene.scm (<primitive>): Add matrix field.
(make-primitive): Call %make-primitive with additional matrix arg.
(<scene-node>): Add world-matrix field.
(make-scene-node): Call %make-scene-node with additional matrix arg.
(modelview): Delete.
(draw-primitive): Perform matrix multiplication without allocating.
(draw-scene-node): Likewise.
(draw-scene): Pass pre-built matrix rather than allocating.
Diffstat (limited to 'examples/fonts/good_neighbors_starling.png')
0 files changed, 0 insertions, 0 deletions