build/craftymatter.js
function( entity, angle ) {

	        var angleFixed = Crafty.math.radToDeg( angle ).toFixed( 3 );

	        if ( angle === 0 || entity._rotation === angleFixed ) {
	            return;
	        }

	        entity.matterMoved = true;
	        entity.rotation = angleFixed;

	        debug.rotateEntity( [ entity, angleFixed ] );
	    }
function( entity, angle ) {

	        var angleFixed = Crafty.math.radToDeg( angle ).toFixed( 3 );

	        if ( angle === 0 || entity._rotation === angleFixed ) {
	            return;
	        }

	        entity.matterMoved = true;
	        entity.rotation = angleFixed;

	        debug.rotateEntity( [ entity, angleFixed ] );
	    }
function ( entity , angle ) { var angleFixed = Crafty . math . radToDeg ( angle ) . toFixed ( 3 ) ; if ( angle === 0 || entity . _rotation === angleFixed ) { return ; } entity . matterMoved = true ; entity . rotation = angleFixed ; debug . rotateEntity ( [ entity , angleFixed ] ) ; }
Initial support only for center origin
Initial support only for center origin