Skip to content

Commit

Permalink
01/22/2012 *0.2 Build 20*
Browse files Browse the repository at this point in the history
--------------------------

* Added dirty rectangles clear support.
  To be enabled a call director.setClear( CAAT.Director.CLEAR_DIRTY_RECTS ); must be performed.
  Every actor which changes affine transformation, either position, rotation or scale, will automatically
  be invalidated. In you want any other actor to be explicitly invalidated, just call actor.invalidate();
* Cleaned some ctx.save/restore code.
* Modified license file to reflect copyright 2012.
* Removed some debug code.
  • Loading branch information
hyperandroid committed Jan 23, 2012
1 parent 0753691 commit be36749
Show file tree
Hide file tree
Showing 9 changed files with 56 additions and 42 deletions.
6 changes: 3 additions & 3 deletions build/caat-box2d-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions build/caat-box2d.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Version: 0.2 build: 20
Version: 0.2 build: 34
Created on:
DATE: 2012-01-22
TIME: 18:10:40
DATE: 2012-01-23
TIME: 18:06:09
*/


Expand Down
20 changes: 10 additions & 10 deletions build/caat-css-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 6 additions & 3 deletions build/caat-css.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Version: 0.2 build: 20
Version: 0.2 build: 34
Created on:
DATE: 2012-01-22
TIME: 18:10:40
DATE: 2012-01-23
TIME: 18:06:09
*/


Expand Down Expand Up @@ -8096,6 +8096,7 @@ var cp1= proxy(
if ( this.dirtyRectsEnabled ) {

ctx.beginPath();

var dr= this.cDirtyRects;
for( i=0; i<dr.length; i++ ) {
var drr= dr[i];
Expand Down Expand Up @@ -8159,6 +8160,8 @@ var cp1= proxy(
animate : function(director, time) {
this.setModelViewMatrix(this);

this.dirty= false;
this.invalid= false;
this.dirtyRectsIndex= -1;
this.cDirtyRects= [];

Expand Down
Loading

0 comments on commit be36749

Please sign in to comment.