Optimised update loop to reduce calculations if the transform doesn't change.

This commit is contained in:
Richard Davey committed 2013-09-01 05:50:47 +01:00
1 parent 6ef89826df
commit fef28c6a6a
2 files changed
+47 -21

No files matched your search

-1
View File
@@ -29,7 +29,6 @@
s.addChild(s2);
// s.angle = 45;
s.scale.x = 2;
s.scale.y = 2;
s2.scale.x = 0.5;