Ben Cragg
|
160bcb9960
|
Merge branch 'addcircle' of github.com:bcvery1/pixel into addcircle
|
2019-02-14 14:25:06 +00:00 |
Ben Cragg
|
6f1e3bbbf8
|
More intersection tests
|
2019-02-14 14:23:50 +00:00 |
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 |
Ben Cragg
|
d4530ca9fe
|
More intersection tests
|
2019-02-14 14:18:14 +00:00 |
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 |