Openfl beta 3 rotation bug on Cpp targets

(Sorry if this is the wrong place to put this)

There seems to be a bug when rotating objects in the new Openfl beta on Cpp targets.

Example code:

	var cont:Sprite = new Sprite ();
	cont.graphics.beginFill (0xff);
	cont.graphics.drawRect (0, 0, 50, 50);
	cont.graphics.endFill ();
	
	addChild (cont);
	
	cont.x = cont.y = 200;
	cont.rotation = 40;

Result:

The object disappears entirely if rotation is set to 45 degrees or above.

It works fine on flash/html5.

Looks like my bug on 3.0.0-beta:

Sorry, my bad, I screwed up the matrix calculations it should be fixed on git