Commit Graph

902 Commits

Author SHA1 Message Date
Tsukinai ba6fc7db8a docs changes
changed wording to match zero-vector returns in other functions.
2019-05-24 12:25:35 -06:00
Tsukinai 285676ca17 gofmt and fixed docs
Fixed doc refrince to R(0,0,0,0) in Rect.Intersect() to be a ZR and for it to return a ZR.

Also ran gofmt...
2019-05-24 12:20:00 -06:00
Tsukinai b18647916f Added ZR for zero rect
Added the ZR for rectangle for both utility and consistensy with pixel.ZV
2019-05-24 12:00:11 -06:00
Michal Štrba de3617a259
Merge pull request #184 from fgrosse/fix-contributing-guidelines
Fixed link to examples repo in CONTRIBUTING.md
2019-05-19 22:08:02 +02:00
Friedrich Große 1f96c1e995 Fixed link to examples repo in CONTRIBUTING.md 2019-05-19 18:44:51 +02:00
Michal Štrba a68a4e38b4
Merge pull request #183 from bcvery1/TriangleEfficiency
Added TriangleData benchmarks and improvements
2019-04-25 14:17:09 +02:00
Ben Cragg 9e6e6197dd Added benchmark for MakeTrianglesData 2019-04-24 11:17:48 +01:00
Ben Cragg 159df28dcc Reverted changes on setlen 2019-04-24 10:32:35 +01:00
Ben Cragg d48ef44bdc Added TriangleData benchmarks and improvements 2019-04-24 10:11:20 +01:00
Michal Štrba 9aca3bfe7a
Merge pull request #182 from bcvery1/fixVertexRace
Fix vertex race
2019-04-16 10:27:08 +02:00
Ben Cragg 2cf81cd4df Setting dist 2019-04-16 09:01:36 +01:00
Ben Cragg 3aad3268cd Making xvfb a service 2019-04-16 08:47:42 +01:00
Ben Cragg 9d5c7afe12 Adding test for drawing sprites 2019-04-15 11:25:30 +01:00
Ben Cragg 85b18b567a prevented concurrent race condition 2019-04-15 11:20:40 +01:00
Michal Štrba e8ba24ea40
Merge pull request #181 from bcvery1/fixSpritePositioning
Setting position in correct order
2019-04-15 10:07:17 +02:00
Ben Cragg d601bc65e4 Setting position in correct order 2019-04-15 08:46:29 +01:00
Michal Štrba 2cb87efb8c
Merge pull request #176 from bcvery1/master
Avoiding floating point rounding errors
2019-04-14 22:50:57 +02:00
Michal Štrba ccf8e9dcdc
Merge pull request #177 from Immueggpain/patch-1
why 2 loops and assign twice? one is enough
2019-04-14 22:48:56 +02:00
Immueggpain 95ac5e1e2a
why 2 loops and assign twice? one is enough 2019-04-13 23:47:02 +08:00
Ben Cragg 96e0a8f3bf Added test cases 2019-04-10 12:47:21 +01:00
Ben Cragg f698bae1df Added floating point round error correction 2019-04-10 12:47:07 +01:00
Michal Štrba a6c8b92517
Merge pull request #174 from bcvery1/addLine
Add line geometry
2019-04-04 17:49:16 +02:00
Ben Cragg 9eb2834a10 fixed index issue 2019-04-04 16:20:21 +01:00
Ben Cragg 0092d6a577 implementing pre 1.8 sortslice solution 2019-04-04 16:09:25 +01:00
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 364a7a84ae Prevented test results order mattering 2019-04-04 15:31:34 +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 352785e1b8 Supporting pre go1.10 2019-04-03 12:37:33 +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 faf6558294 wip line tests 2019-04-03 12:03:07 +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 237d77596f WIP line tests 2019-04-02 13:48:43 +01:00
Ben Cragg c7eac06499 WIP line tests 2019-04-02 13:46:50 +01:00
Ben Cragg 55b87ca5b1 WIP line tests 2019-04-02 13:33:41 +01:00