|
7f00f92e59
|
geom/aabb: add query for aabb corners
|
2018-05-21 10:47:51 +10:00 |
|
|
b7a4b8d1c0
|
geom/sample: defend against maybe unused variable
|
2018-05-18 13:51:34 +10:00 |
|
|
e77f59e3ae
|
geom/aabb: define combining 'or' operator
|
2018-05-18 13:51:19 +10:00 |
|
|
09dfad5391
|
geom/aabb: add or'ing operator for points
|
2018-05-16 16:21:56 +10:00 |
|
|
1324ae2b4a
|
geom/plane: add distance2 for plane/point
|
2018-05-07 11:48:32 +10:00 |
|
|
92ba5469c4
|
geom/frustum: add symbolic constants for plane indices
|
2018-05-07 11:09:53 +10:00 |
|
|
c33a679e81
|
geom/ray: make ray intersections more robust
|
2018-05-04 17:10:51 +10:00 |
|
|
b01173d82b
|
maths: rename limit to clamp
|
2018-05-03 21:43:48 +10:00 |
|
|
9f6697dc2a
|
geom/ray: correct test for negative aabb distance
|
2018-05-03 16:40:30 +10:00 |
|
|
cfefca7767
|
geom/ray: correct the sense of ray/plane distance
|
2018-05-03 16:39:57 +10:00 |
|
|
a1aa0c6949
|
geom/sample: make the extent surface sampler public
|
2018-05-01 16:02:55 +10:00 |
|
|
8b47a2e350
|
geom/sample: don't rely on float distances in poisson sampling
|
2018-05-01 16:02:23 +10:00 |
|
|
d72485307a
|
geom/ellipse: add convenience ellipse3f typedef
|
2018-05-01 16:01:43 +10:00 |
|
|
a22829e9fc
|
geom/tri: be consistent with struct/classes
|
2018-05-01 16:01:17 +10:00 |
|
|
63cf40eeca
|
poisson-tool: use function objects for distances
|
2018-04-27 16:33:18 +10:00 |
|
|
5011c670c6
|
geom/tri: add tri sampler
|
2018-04-26 18:37:01 +10:00 |
|
|
4bb66d2c05
|
geom/sample: surface sampler should take constref
|
2018-04-26 18:36:29 +10:00 |
|
|
05f8787c91
|
poission: add more thoroughly documented poisson sampler
|
2018-04-26 17:44:16 +10:00 |
|
|
44d5b655ab
|
geom/plane: correct the sense of coefficient `D'
|
2018-04-23 22:14:05 +10:00 |
|
|
6290f0be93
|
geom/plane: add furthest point finder
|
2018-04-23 15:41:58 +10:00 |
|
|
f3f26fca64
|
geom/plane: use 'd' contribution for distance
|
2018-04-20 15:32:20 +10:00 |
|
|
aab066593b
|
geom/segment: add trivial segment representation
|
2018-04-20 15:08:06 +10:00 |
|
|
cce9333b65
|
geom/ray: style
|
2018-04-20 15:08:06 +10:00 |
|
|
cc83dd8713
|
geom/plane: add point-plane distance
|
2018-04-20 15:08:06 +10:00 |
|
|
dd369c7c9c
|
geom/plane: add make_plane convenience function
|
2018-04-20 15:08:06 +10:00 |
|
|
56a73275c1
|
geom/line: add basic line class
|
2018-04-20 15:08:06 +10:00 |
|
|
89defb3bc2
|
geom/sample: add trivial poisson sample generator
|
2018-04-19 13:27:43 +10:00 |
|
|
dcd789a075
|
geom/ellipse: add naive covering ellipse impl
|
2018-04-18 21:48:55 +10:00 |
|
|
06350b53cf
|
geom/ellipse: add sample_surface function
|
2018-04-17 17:11:29 +10:00 |
|
|
76c809f031
|
point/vector: homog no longer takes a size parameter
|
2018-04-17 14:26:23 +10:00 |
|
|
f7a9dc598f
|
geom/ray: forward declare ostream operator
may be required for CHECK_SANITY
|
2018-04-16 16:44:26 +10:00 |
|
|
675969936e
|
geom/ray: remove useless deduction guide
|
2018-04-16 16:44:11 +10:00 |
|
|
87d442772c
|
geom/ops: remove point-point distance via sfinae
point-point distance is already defined outside of the geom namespace
|
2018-04-16 16:00:32 +10:00 |
|
|
a8b3737b8b
|
geom/ray: remove constructors so we have a POD
|
2018-04-16 16:00:32 +10:00 |
|
|
ce246f8aa2
|
ellipse: add ray distance query
|
2018-04-16 16:00:32 +10:00 |
|
|
63fb76c24c
|
geom/ray: ensure direction is normalised after transform
|
2018-04-16 16:00:35 +10:00 |
|
|
4dcd10243c
|
geom/ray: add validator specialisation
|
2018-04-16 16:00:32 +10:00 |
|
|
2eb0b429ef
|
geom/sphere: style
|
2018-04-16 16:00:32 +10:00 |
|
|
05b1c2dd80
|
geom/ray: add matrix multiply operator
|
2018-04-16 16:00:32 +10:00 |
|
|
00515078f9
|
ray: move convenience typedefs directly after type decl
|
2018-04-16 16:00:32 +10:00 |
|
|
44b3d8d628
|
ray: add deduction guides
|
2018-04-16 16:00:32 +10:00 |
|
|
bef0aa4929
|
sphere: move ray tests into sphere's unit
|
2018-04-16 16:00:32 +10:00 |
|
|
4e558ce9a9
|
geom/cylinder: add convenience cylinder3f typedef
|
2018-04-11 15:10:16 +10:00 |
|
|
40cf869d7e
|
geom/tri: add triangle area formula
|
2018-04-09 12:49:09 +10:00 |
|
|
a4634a771b
|
g/frustum: simplify aabb intersection test
|
2018-03-28 20:42:43 +11:00 |
|
|
14e2fc5bd5
|
geom/ray: use infinity, not nan, to signal no intersection
|
2018-03-27 16:06:34 +11:00 |
|
|
2d7e3e5d7d
|
build: prefer iosfwd over iostream
|
2018-03-22 16:11:13 +11:00 |
|
|
0646b1c13b
|
geom: move distance/intersection tests outside classes
|
2018-03-13 23:27:37 +11:00 |
|
|
b1276519ef
|
geom: add simple frustum class
|
2018-03-13 22:37:40 +11:00 |
|
|
47efd293c9
|
geom/plane: use a vector for coefficients
this simplifies usage of the coefficients in other routines
|
2018-03-13 22:37:09 +11:00 |
|