diff options
author | David Thompson <dthompson2@worcester.edu> | 2014-08-29 15:10:45 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2014-08-29 15:10:45 -0400 |
commit | 69785bcd852d6344d19e755b7ea9cb38752b8156 (patch) | |
tree | 6fdeb9d7f37623c4ea43daf6f21f166b67ee29b2 /tests/math | |
parent | 1ce6a9263d2718a2cd5bb30fd59b6ee7ab1d251b (diff) |
scene: Use dirty checking to improve rendering speed for static nodes.
* sly/scene.scm (<scene-node>): Add transform field.
(make-scene-node): Initialize transform.
(scene-node-dirty?, recompute-transform!): New procedures.
(draw-scene-node): Don't generate new transform if node isn't dirty.
Diffstat (limited to 'tests/math')
0 files changed, 0 insertions, 0 deletions