Commit Graph

902 Commits

Author SHA1 Message Date
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
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
Ben Cragg 8650692efa wip 2019-01-31 08:22:59 +00:00
Ben Cragg ba4f417559 corrected area formula 2019-01-30 08:38:51 +00:00
Ben Cragg ecd686769c swapped radius and center order 2019-01-30 08:37:27 +00:00
Ben Cragg 2cce50832d fixed intersect function 2019-01-29 12:31:59 +00:00
Ben Cragg c70d7575ce removed unneeded Min call 2019-01-29 12:27:38 +00:00
Ben Cragg 4eba5e37ae made test param generation more consistant 2019-01-29 12:18:35 +00:00
Ben Cragg 0cddb56114 corrected comment 2019-01-29 11:47:49 +00:00
Ben Cragg 4b6cf201f7 using Lerp 2019-01-29 11:45:00 +00:00
Ben Cragg cff8697c97 Made test clearer 2019-01-29 11:41:10 +00:00
Ben Cragg d0ceea6849 remove local var 2019-01-29 11:34:59 +00:00
Ben Cragg 56cd321ab8 normalising before getting bigger/smaller 2019-01-29 11:33:12 +00:00
Ben Cragg 8efed1de5c Removed Diameter function 2019-01-29 11:23:55 +00:00
Ben Cragg 9a32601c6b added rect-circle intersection functions 2019-01-29 11:20:21 +00:00
Ben Cragg fdc068e855 renamed test function to match convention 2019-01-29 09:40:44 +00:00
Ben Cragg 9b8d4c7461 moved rect test struct 2019-01-29 09:39:44 +00:00
Ben Cragg a56f7fa422 not exporting circle size comparisons 2019-01-29 09:38:24 +00:00
Ben Cragg 0d5ba92fbe fixed circle.Intersect 2019-01-29 09:33:20 +00:00
faiface 20b05d9ec2 add Vulkan support + strike-through GPU effects from the roadmap 2019-01-28 21:54:37 +01:00
Ben Cragg d102169151 Added Circle geometry and tests 2019-01-28 09:00:24 +00: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
Ben Cragg 3bed5a8449 WIP adding tests 2019-01-18 11:37:17 +00: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