Commit Graph

102 Commits

Author SHA1 Message Date
Ben Cragg b8bb00a161 Setting order of returned points on Circle 2019-04-04 15:49:40 +01:00
Ben Cragg 29b1220ec3 Setting order of returned points on Rect 2019-04-04 15:48:27 +01:00
Ben Cragg bcda85acd2 Adding fullstop at end of func comment 2019-04-04 15:13:47 +01:00
Ben Cragg 966150a856 Removing backticks 2019-04-04 15:13:24 +01:00
Ben Cragg f3377bb16f Added circle intersection points 2019-04-04 11:53:48 +01:00
Ben Cragg 4795a92b41 fixed line intersect and added rect intersection points 2019-04-03 16:58:30 +01:00
Ben Cragg 83c62a0313 fixing line intersect function 2019-04-03 16:21:57 +01:00
Ben Cragg c3e69c4f35 Tidying up function comments 2019-04-03 15:26:38 +01:00
Ben Cragg e6392a228d Making len more sensible 2019-04-03 12:22:21 +01:00
Ben Cragg 3592de858c Clarified comment 2019-04-03 12:19:30 +01:00
Ben Cragg a1d36f8c7e Clarified comment 2019-04-03 12:16:27 +01:00
Ben Cragg 98d5b9b417 Adding vertical/horizontal edge cases 2019-04-03 12:12:27 +01:00
Ben Cragg e5ff236d71 Removed debug lines 2019-04-03 12:03:58 +01:00
Ben Cragg e99ac56daa wip line tests 2019-04-03 11:52:42 +01:00
Ben Cragg aa7ef59ecd wip line tests 2019-04-03 11:47:36 +01:00
Ben Cragg eb3d7e0787 wip line tests 2019-04-03 11:09:14 +01:00
Ben Cragg 11e2012ef5 WIP line tests 2019-04-03 08:23:34 +01:00
Ben Cragg 8cd352b7a3 WIP line tests 2019-04-03 08:13:33 +01:00
Ben Cragg 997f23dfb5 WIP line tests 2019-04-02 17:01:18 +01:00
Ben Cragg 04c3ef72a3 WIP line tests 2019-04-02 16:27:54 +01:00
Ben Cragg 9d07d69429 Fixed so corners are provided in anticlockwise pattern 2019-04-01 15:42:20 +01:00
Ben Cragg 128ec4d4c0 Added function to create a Line 2019-04-01 15:37:23 +01:00
Ben Cragg d3912a6486 Added Line struct and methods 2019-04-01 15:31:20 +01:00
Ben Cragg 680d16c17b Corrected returned Vectors for corner overlaps 2019-02-18 12:03:54 +00:00
Ben Cragg cc9f03d393 corrected function preambles 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 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 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 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
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 1e19db5b25 #159 Add test case when matrix determinant is not 1 2019-02-12 18:40:15 +01:00
Jacek Olszak cabaee680e #159 Fix unproject for rotated matrix 2019-02-12 14:57:03 +01:00
Stephen Michaelis 8d20deea05 update MouseEntered to MouseInsideWindow 2019-01-21 17:13:51 -05:00
Stephen Michaelis e7a625f5d2 updated Floor method 2019-01-20 10:00:35 -05:00
Stephen Michaelis d3f6331240 Adding a pixel.Vec Floor method to geometry.go 2019-01-20 09:56:30 -05:00
NaniteFactory abfdf18fb6 fix typo for matrix 2018-09-05 12:53:25 +09:00
faiface 721a10ef10 add Vec.Project 2017-10-15 19:50:41 +02:00
faiface c87741300d add pixel.Unit 2017-10-15 19:43:12 +02:00