Commit Graph

73 Commits

Author SHA1 Message Date
Paul Zabelin
ecfdfd972b migrate to swift 5 2019-04-09 01:30:07 -07:00
Paul Zabelin
92da0f2525 fix redudant public 2019-04-09 01:20:59 -07:00
Paul Zabelin
49c058a54c migrate to new SIMD and xcode project settings 2019-04-09 01:17:39 -07:00
Paul Zabelin
cf20cb7298 reindent 2019-03-17 21:20:37 -07:00
Paul Zabelin
2ad52efe22 clenaup refactor 2019-03-16 10:12:18 -07:00
Paul Zabelin
d085de277d rename Types 2019-03-16 09:51:48 -07:00
Paul Zabelin
15d6a80516 add file private to matrices extenstions 2019-03-16 09:43:29 -07:00
Paul Zabelin
c288644150 add ASCII comments to visualize matrices 2019-03-16 00:12:22 -07:00
Paul Zabelin
2a1449fa54 refactor to use type inference 2019-03-13 23:45:03 -07:00
Paul Zabelin
90281b8739 refactor specs 2019-03-12 03:45:39 -07:00
Paul Zabelin
9d3ec57c6c refactor CATransform3D init
to use unsafe bit cast instead of constructor
2019-03-12 02:44:51 -07:00
Paul Zabelin
f464010f74 lint 2019-01-21 22:06:07 -08:00
Paul Zabelin
6dd8da7dd2 make Quadrilateral internal 2018-03-12 02:16:44 -07:00
Paul Zabelin
d39d0b0cf4 convert never happening condition to assert 2018-03-07 23:40:03 -08:00
Paul Zabelin
9c62b0b4b7 move normalization with conversion to 3D matrix 2018-03-07 03:17:44 -08:00
Paul Zabelin
f5a3fb8e6e remove extra normalization 2018-03-07 03:04:56 -08:00
Paul Zabelin
f740ee4ea0 move text files to wiki 2018-03-07 02:41:22 -08:00
Paul Zabelin
2a72fc90fa refactor matrix extensions
to extract static constants
2018-02-26 21:33:29 -08:00
Paul Zabelin
f082411605 remove assert
as it is too hard to test
2018-02-24 21:37:12 -08:00
Paul Zabelin
e6b9aade8d add heredoc to perspective 2018-02-24 19:17:10 -08:00
Paul Zabelin
f2301670ca refactor normalization and 3d conversion 2018-02-19 03:43:15 -08:00
Paul Zabelin
1f3308381a refactor use of constants
add spec for to3d
2018-02-19 02:57:17 -08:00
Paul Zabelin
debf5d9a4f add spec for basisVectorsToPointsMap
refactor static members of Matrix3x3Type
2018-02-19 01:47:29 -08:00
Paul Zabelin
9af41ea340 extract private function 2018-02-18 22:56:30 -08:00
Paul Zabelin
d98f6ab6a8 fix confusion of corner order
add init with 4 corner points
2018-01-29 23:27:11 -08:00
Paul Zabelin
a14f918eb4 cleanup imports 2018-01-29 22:36:44 -08:00
Paul Zabelin
35f5257769 use array slice 2018-01-28 15:57:28 -08:00
Paul Zabelin
8fc6998155 move adjugate to specs
as it is no longer needed on 64-bit architectures
2018-01-28 15:47:48 -08:00
Paul Zabelin
9367a81fd1 remove support of 32 bit architectures 2018-01-28 15:21:52 -08:00
Paul Zabelin
54ec56d625 add debug description to Perspective 2018-01-27 23:27:40 -08:00
Paul Zabelin
62cb9b1223 refactor Matrix3x3Type extension 2018-01-04 18:28:41 -08:00
Paul Zabelin
79cb6af227 refactor for readibility 2018-01-04 17:59:12 -08:00
Paul Zabelin
02f93ee249 add spec for adjugate 2018-01-04 16:51:08 -08:00
Paul Zabelin
50d2072d77 refactor transforms in constructor
to apply once using map
2018-01-04 07:54:09 -08:00
Paul Zabelin
adad1ecff8 cleanup self. 2018-01-04 07:37:02 -08:00
Paul Zabelin
9b37829182 update swift
update bundle
update and cleanup pods
update test images
fix Xcode 9.2 errors
2018-01-04 06:05:32 -08:00
Paul Zabelin
985c47e2d6 use convenience initializers 2016-02-22 00:34:13 -08:00
Paul Zabelin
834bbd9a3d add convenience init to Perspective 2016-02-22 00:22:12 -08:00
Paul Zabelin
c3f28665df use corners, store vectors
rename extensions, update playground
2016-02-22 00:13:21 -08:00
Paul Zabelin
e2c4823f1c rename Perspective+Transform 2016-02-22 00:02:12 -08:00
Paul Zabelin
9b2f3506f6 introduce Perspective to hold basis vectors maps 2016-02-21 23:59:59 -08:00
Paul Zabelin
29039c1f9d add performance test 2016-02-21 14:57:09 -08:00
Paul Zabelin
9e4f280486 use zNormalizedSafe for homogeneousInverse 2016-02-21 14:49:32 -08:00
Paul Zabelin
62e11bda7d implement adjugate via cross product of vectors 2016-02-21 14:41:53 -08:00
Paul Zabelin
bc865073b4 add homogeneousInverse and zNormalizedSafe for 32-bit 2016-02-21 12:49:16 -08:00
Paul Zabelin
017a7990d5 add type aliases 2016-02-21 05:34:52 -08:00
Paul Zabelin
c1ba78559d group extension better 2016-02-21 05:10:43 -08:00
Paul Zabelin
9b2b33beb1 rename homogeneous3dvector 2016-02-21 05:00:29 -08:00
Paul Zabelin
74335d41b2 refactor float3x3+3D 2016-02-21 04:59:18 -08:00
Paul Zabelin
5ab6f936d4 rename basisVectorsToPointsMap 2016-02-21 04:41:50 -08:00