Skip to content

Skewing #1062

Closed
wants to merge 4 commits into from

2 participants

@tconkling

This adds skewing support to Sparrow, which gives Sparrow the full set of 2D transforms that the Flash tool supports.

There's a tiny bit of extra overhead in SPRenderSupport.transformMatrixForObject:, since there's no gl function for the skew transform, but it's only incurred if you actually use skewing (it doesn't add any overhead to straight-up rotation).

@PrimaryFeather
Owner

Wow, that looks awesome! Thanks a lot for the pull request. I'll try that out and add it for sure. It's a very smart solution!

@tconkling

Great! (We also have a more-or-less identical change coming down the pipeline for Starling - you should get a pull request for that today, if you're interested).

@tconkling tconkling Merge branch 'master' into skewing
Conflicts:
	sparrow/src/Classes/SPDisplayObject.m
	sparrow/src/Classes/SPMatrix.m
6be218f
@PrimaryFeather
Owner

I added this in Sparrow 2.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.