projects
/
MicroTrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
code for assignment 4, gitignored *.ppm, *.png
[MicroTrace.git]
/
Triangle.hxx
diff --git
a/Triangle.hxx
b/Triangle.hxx
index
6abbe53
..
8e56231
100644
(file)
--- a/
Triangle.hxx
+++ b/
Triangle.hxx
@@
-11,6
+11,8
@@
public:
virtual bool Intersect(Ray& ray);
virtual Vec3f GetNormal(Ray& ray);
+ virtual Box CalcBounds();
+ virtual bool InVoxel(const Box& box);
private:
Vec3f m_a, m_b, m_c;
Vec3f m_n;
This page took
0.025369 seconds
and
4
git commands to generate.