Commit Graph

940 Commits

Author SHA1 Message Date
Ben Cragg 09db6d8b38 Merge branch 'master' of github.com:bcvery1/pixel 2019-03-26 15:32:42 +00:00
Ben Cragg 86de5123c0 Added related libraries 2019-03-26 15:25:41 +00:00
Michal Štrba 470791a59d
Merge pull request #170 from Tobaloidee/master
logo upload & readme update
2019-03-20 16:46:00 +01:00
tobaloidee 0475b1ddb4
Update README.md 2019-03-20 11:16:49 +08:00
tobaloidee c9328c9260
Delete logo 2019-03-20 11:12:07 +08:00
tobaloidee c7836cb3ad
logo upload 2019-03-20 11:10:30 +08:00
tobaloidee 3d2f083f70
Create logo 2019-03-20 11:09:54 +08:00
faiface 771e2e92e2 Merge branch 'master' of https://github.com/faiface/pixel 2019-03-18 22:56:18 +01:00
faiface 09b50d2296 add Gizmo to examples part of README 2019-03-18 22:55:57 +01:00
Michal Štrba 66670d9905
Merge pull request #164 from CodeLingoBot/rewrite
Fix function comments based on best practices from Effective Go
2019-03-12 21:59:53 +01:00
CodeLingo Bot 489b03138f Fix function comments based on best practices from Effective Go
Signed-off-by: CodeLingo Bot <bot@codelingo.io>
2019-03-11 00:45:01 +00:00
Michal Štrba 3cc0ec3d30
Merge pull request #162 from bcvery1/fixCircleIntersect
Fix circle intersect
2019-02-22 17:13:57 +01:00
Ben Cragg b3246f6234 Updated tests 2019-02-18 12:16:16 +00:00
Ben Cragg 680d16c17b Corrected returned Vectors for corner overlaps 2019-02-18 12:03:54 +00:00
Michal Štrba 8563c28493
Merge pull request #157 from bcvery1/addcircle
Added circle geometry - small feature/improvement
2019-02-14 16:00:46 +01:00
Ben Cragg 160bcb9960 Merge branch 'addcircle' of github.com:bcvery1/pixel into addcircle 2019-02-14 14:25:06 +00:00
Ben Cragg 6f1e3bbbf8 More intersection tests 2019-02-14 14:23:50 +00:00
Ben Cragg cc9f03d393 corrected function preambles 2019-02-14 14:23:50 +00:00
Ben Cragg b61602cdf4 fixed area tests 2019-02-14 14:23:50 +00:00
Ben Cragg f21c48599f Made naming consistent 2019-02-14 14:23:50 +00:00
Ben Cragg ab70533793 wip 2019-02-14 14:23:50 +00:00
Ben Cragg 0a0c8ff110 corrected area formula 2019-02-14 14:23:50 +00:00
Ben Cragg 5abf2d29a6 swapped radius and center order 2019-02-14 14:23:50 +00:00
Ben Cragg 4d30a8fe49 fixed intersect function 2019-02-14 14:23:50 +00:00
Ben Cragg ecda96a36f removed unneeded Min call 2019-02-14 14:23:50 +00:00
Ben Cragg 520459bc6d made test param generation more consistant 2019-02-14 14:23:50 +00:00
Ben Cragg e225e9a1ef corrected comment 2019-02-14 14:23:50 +00:00
Ben Cragg 13171c409b using Lerp 2019-02-14 14:23:50 +00:00
Ben Cragg 2e275ab0d5 Made test clearer 2019-02-14 14:23:50 +00:00
Ben Cragg 23168ee324 remove local var 2019-02-14 14:23:50 +00:00
Ben Cragg 44d030b9ca normalising before getting bigger/smaller 2019-02-14 14:23:50 +00:00
Ben Cragg b06a31baa3 Removed Diameter function 2019-02-14 14:23:50 +00:00
Ben Cragg 4c6d061455 added rect-circle intersection functions 2019-02-14 14:23:50 +00:00
Ben Cragg 620c551f70 moved rect test struct 2019-02-14 14:23:50 +00:00
Ben Cragg 16722d55e1 not exporting circle size comparisons 2019-02-14 14:22:52 +00:00
Ben Cragg ee24eeb67d fixed circle.Intersect 2019-02-14 14:22:52 +00:00
Ben Cragg 5072f34b91 Added Circle geometry and tests 2019-02-14 14:22:52 +00:00
Ben Cragg d4530ca9fe More intersection tests 2019-02-14 14:18:14 +00:00
Ben Cragg 3b63b7eff9 corrected function preambles 2019-02-14 14:15:26 +00:00
Ben Cragg 91c16c34da fixed area tests 2019-02-14 14:12:54 +00:00
Ben Cragg e8a3621140 Made naming consistent 2019-02-14 14:12:05 +00:00
Michal Štrba 730d33a341
Merge pull request #160 from jacekolszak/master
Fix Matrix.Unproject problem with rotated matrix
2019-02-14 15:06:00 +01:00
Jacek Olszak 42cc2a0376 #159 Use map instead of array for named Matrices 2019-02-13 15:25:12 +01:00
Jacek Olszak 742d1226d8 #159 Make namedMatrices an array instead of slice 2019-02-13 15:13:04 +01:00
Jacek Olszak 0a054f35fd #159 Name matrices in unit test to avoid confusion with test cases 2019-02-13 15:06:50 +01:00
Jacek Olszak 392fe90b11 #159 Test whether Matrix.Unprejected(Matrix.Projected(vertex)) == vertex 2019-02-13 14:39:47 +01:00
Jacek Olszak 2e0da4f44a #159 Another reduction of Simplify Matrix.Unproject formulas 2019-02-12 21:06:37 +01:00
Jacek Olszak b0ed22e0ec #159 Simplify Matrix.Unproject formulas 2019-02-12 21:00:05 +01:00
Jacek Olszak 0aec9fead0 #159 Format code in TestMatrix_Unproject 2019-02-12 18:53:38 +01:00
Jacek Olszak 1e19db5b25 #159 Add test case when matrix determinant is not 1 2019-02-12 18:40:15 +01:00