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

This commit is contained in:
Richard Davey
2013-09-01 05:50:47 +01:00
parent 6ef89826df
commit fef28c6a6a
2 changed files with 47 additions and 21 deletions
-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;