Commit Graph

287 Commits

Author SHA1 Message Date
Paul Zabelin
1a3467ae25 add CATransform3D constructor from 3x3 matrix 2016-02-21 02:34:04 -08:00
Paul Zabelin
63cb128317 refactor CATransform3D construction into extension 2016-02-21 01:33:31 -08:00
Paul Zabelin
fb32dbd0a5 rename to projectiveTransform 2016-02-20 23:28:58 -08:00
Paul Zabelin
b90a82f6cb move basisVector() to member function 2016-02-20 23:22:14 -08:00
Paul Zabelin
0098fcab2c split spec to extract BasisVectorSpec.swift 2016-02-20 23:18:49 -08:00
Paul Zabelin
199adff4c3 rename spec 2016-02-20 23:17:23 -08:00
Paul Zabelin
d44add78c3 move general2DProjection to Quadrilateral 2016-02-20 23:16:48 -08:00
Paul Zabelin
403f627855 add visual playground 2016-02-20 23:06:35 -08:00
Paul Zabelin
ab1a4bec85 refactor controller to setup quad once 2016-02-20 22:48:42 -08:00
Paul Zabelin
2486231c82 refactor transformToQuadrilateral 2016-02-20 22:44:36 -08:00
Paul Zabelin
bf4055b038 use matrix inverse instead of adjugate 2016-02-20 22:32:08 -08:00
Paul Zabelin
ec9e3b3541 remove placeholder
reformat code
2016-02-20 22:11:45 -08:00
Paul Zabelin
62975e013f reset anchor point to zero before any transformations 2016-02-20 21:50:01 -08:00
Paul Zabelin
f53fb242d3 connect corners to outlet collection 2016-02-20 15:11:07 -08:00
Paul Zabelin
50e6484416 update position on pan 2016-02-20 15:01:15 -08:00
Paul Zabelin
56e242d1d9 add corners 2016-02-20 14:46:13 -08:00
Paul Zabelin
f86f876600 add animation to demo 2016-02-20 05:37:32 -08:00
Paul Zabelin
af50286d9a add demo 2016-02-20 05:26:30 -08:00
Paul Zabelin
0fc98fd15f move all functions from specs to Quadrilateral.swift 2016-02-20 05:09:49 -08:00
Paul Zabelin
e9af4e8fae move Quadrilateral to PerspectiveTransform 2016-02-20 05:05:33 -08:00
Paul Zabelin
97d40477a5 add transform to 3D 2016-02-20 04:48:30 -08:00
Paul Zabelin
473676e04c add spec for expand 2016-02-20 04:18:13 -08:00
Paul Zabelin
c77c4155e2 add spec for projection 2016-02-20 03:21:12 -08:00
Paul Zabelin
2ac025af95 fix spec to pass within delta comparison 2016-02-20 02:28:06 -08:00
Paul Zabelin
93a410a015 add Quardilateral and spec for basis 2016-02-20 02:00:34 -08:00
Paul Zabelin
dceb679c72 use almost equal
add constructor for fiddle testing
2016-02-20 00:32:06 -08:00
Paul Zabelin
a746d3fbfc add vector projection spec 2016-02-19 22:53:43 -08:00
Paul Zabelin
e8b576ad31 add adjugate via cofactors 2016-02-19 02:16:08 -08:00
Paul Zabelin
d435c86760 extract AdjugateSpec 2016-02-19 01:48:08 -08:00
Paul Zabelin
06eb1969ad add matrix spec 2016-02-19 00:32:04 -08:00
Paul Zabelin
b75e3edbba update pods after upgrading to cocoapods beta 3 2016-02-19 00:00:07 -08:00
Paul Zabelin
3603327d7d use latest cocoapods with bundler 2016-02-18 23:59:19 -08:00
Paul Zabelin
b0f6af3277 remove Carthage in favor of cocoapods 2016-02-18 23:43:43 -08:00
Paul Zabelin
90184f9897 install pods, update podspec 2016-02-18 23:40:58 -08:00
Paul Zabelin
236c8b376f add Carthage files 2016-02-18 23:21:41 -08:00
Paul Zabelin
01596facc5 add quick and nimble 2016-02-18 23:20:55 -08:00
Paul Zabelin
2dd2a04e16 Initial commit 2016-02-18 22:55:49 -08:00