C4Labs / C4iOS

C4 is an open-source creative coding framework that harnesses the power of native iOS programming with a simplified API that gets you working with media right away. Build artworks, design interfaces and explore new possibilities working with media and interaction.
www.c4ios.com
MIT License
981 stars 75 forks source link

Properly extracts tx and ty from transform #693

Closed traviskirton closed 6 years ago

traviskirton commented 6 years ago

The previous addresses were incorrect.

For example, a translate of -100,-100 was returning an affine with 0, 0 for tx and ty.

The index values were backwards.