Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SetMatrix as well as skewX and skewY #224

Open
MattRix opened this issue Mar 29, 2014 · 1 comment
Open

Add SetMatrix as well as skewX and skewY #224

MattRix opened this issue Mar 29, 2014 · 1 comment

Comments

@MattRix
Copy link
Owner

MattRix commented Mar 29, 2014

#223

This will allow you full control of a matrix if needed. Also note the _didSetMatrix flag, which could maybe be inverted and renamed to something like "_shouldCalculateMatrix".

@SimianLogic
Copy link

makes sense. also realized I never actually use _skewX/Y as I go straight to the matrix.

could also foresee problems with rotation returning a bogus value (maybe have it check _shouldCalculateMatrix and either return _rotation or _matrix.GetRotation()).

in practice it shouldn't make much difference -- I feel like you're either going to be in data-driven setMatrix land (where you don't care about _rotation) or code-set Pos/Scale/Rot land (where you don't care about _skewX/Y)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants