projects
/
laserbrain_demo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
reflection geometry finally correct
[laserbrain_demo]
/
src
/
geom.h
diff --git
a/src/geom.h
b/src/geom.h
index
5de6a62
..
0d8dd00
100644
(file)
--- a/
src/geom.h
+++ b/
src/geom.h
@@
-16,7
+16,17
@@
enum GeomObjectType {
GOBJ_DISC
};
+enum {
+ AABOX_PLANE_PX,
+ AABOX_PLANE_NX,
+ AABOX_PLANE_PY,
+ AABOX_PLANE_NY,
+ AABOX_PLANE_PZ,
+ AABOX_PLANE_NZ
+};
+
class GeomObject;
+class Plane;
struct HitPoint {
float dist; // parametric distance along the ray