Commit Graph

750 Commits

Author SHA1 Message Date
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
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
Jacek Olszak a0713598da #159 Add test case for rotated and moved matrix 2019-02-12 16:26:19 +01:00
Jacek Olszak 3b366d1edd #159 Use more precise delta for floats comparision 2019-02-12 15:24:17 +01:00
Jacek Olszak cabaee680e #159 Fix unproject for rotated matrix 2019-02-12 14:57:03 +01:00
faiface 20b05d9ec2 add Vulkan support + strike-through GPU effects from the roadmap 2019-01-28 21:54:37 +01:00
Michal Štrba f1ad821f1a
Merge pull request #156 from Humpheh/master
Correctly index joysticks in internal state (fixes #155)
2019-01-22 22:53:08 +01:00
Humphrey Shotton 3be890ea80 Use JoystickLast instead of Joystick16 2019-01-22 21:48:24 +00:00
Humphrey Shotton a46f6f6cf4 Correctly index joysticks in internal state 2019-01-22 21:37:15 +00:00
Michal Štrba 9e0f11abbb
Merge pull request #154 from StephenMichaelis/master
Mouse/Cursor Operations
2019-01-21 23:18:30 +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
Stephen Michaelis ee54171247 Revert to 4c817d7 2019-01-19 14:39:29 -05:00
Stephen Michaelis 2b79131104 added go mod files 2019-01-19 13:59:38 -05:00
Stephen Michaelis 4c817d7c20 adding mouse operations 2019-01-19 10:24:01 -05:00
Michal Štrba a1bbfa3020
Merge pull request #152 from Humpheh/master
Added joystick input
2019-01-10 20:56:20 +01:00
Humphrey Shotton 026878de07 Mark API as experimental 2019-01-10 19:25:55 +00:00
Humphrey Shotton 52b4384240 Removed JoystickLast 2019-01-09 21:07:46 +00:00
Humphrey Shotton 676509d856 Added joystick input 2018-12-30 18:42:02 +00:00
Michal Štrba bdd9349b37
Merge pull request #147 from Lallassu/Lallassu-patch-1
Added position as out variable from vertex shader.
2018-12-11 23:55:13 +01:00
Magnus c18b8f1c29
Added position as out variable from vertex shader.
Adding the position out form vertex shader makes us skip computation of position in the fragment shader based on gl_FragCoord.
2018-12-11 09:24:17 +01:00
Michal Štrba 7b509e1d7d
Merge pull request #145 from gonutz/master
Add No-Brain Jogging to examples
2018-11-23 11:34:30 +01:00