Commit Graph

939 Commits

Author SHA1 Message Date
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
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
Lars 4a0b2f5107 Replace startfield example with No-Brain Jogging 2018-11-23 11:23:38 +01:00
lars 17e407f0c1 Add No-Brain Jogging to examples 2018-11-21 23:44:46 +00:00
faiface 0c2d627cfa README: update the list of tutorials 2018-10-10 13:48:53 +02:00
Michal Štrba 749271768b
Merge pull request #142 from thegtproject/glslstandardization
standardized glsl variable naming
2018-10-07 20:37:30 +02:00
Brandon dc545043c1 lowercased SetUniform arguments 2018-10-07 12:28:20 -06:00
Brandon f4edf628b1 standardized glsl variable naming 2018-10-07 08:33:37 -06:00
faiface 8f9e91e617 fix .travis.yml 2018-10-06 23:34:21 +02:00
Michal Štrba d7dcc8d167
Merge pull request #141 from thegtproject/shaders
implemented custom fragment shader support
2018-10-06 23:22:31 +02:00
Brandon e9dfd22ffa pr 141 review #3 changes, see https://github.com/faiface/pixel/pull/141#pullrequestreview-162261776 2018-10-06 10:27:47 -06:00
Brandon fa10844351 pr 141 review #2 changes, see https://github.com/faiface/pixel/pull/141#pullrequestreview-162259357 2018-10-06 10:01:05 -06:00
Brandon a25a444cbf pr 141 review #1 changes, see https://github.com/faiface/pixel/pull/141#pullrequestreview-161208458 2018-10-03 13:02:10 -06:00