Skip to content

Commit

Permalink
Removed FastMatrix3 and improve pooling for Matrix3, see phetsims/dot#18
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Apr 29, 2014
1 parent c0c03e2 commit a8f95a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/view/shape-views/FormulaView.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ define( function( require ) {
thisNode.addChild( entry.view );
entry.scale = entry.scale || 1 / model[entry.targetProperty].get();
model[entry.targetProperty].link( function updateProperty( val ) {
entry.view.matrix = new Matrix3();
entry.view.matrix = Matrix3.identity();
entry.view.scale( entry.scale * val + 0.125 );
entry.view.centerX = entry.x;
entry.view.centerY = entry.y;
Expand Down

0 comments on commit a8f95a1

Please sign in to comment.