Futile icon indicating copy to clipboard operation
Futile copied to clipboard

Add SetMatrix as well as skewX and skewY

Open MattRix opened this issue 10 years ago • 1 comments

https://github.com/MattRix/Futile/pull/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".

MattRix avatar Mar 29 '14 00:03 MattRix

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)

SimianLogic avatar Mar 29 '14 00:03 SimianLogic