source: GTP/trunk/Lib/Vis/Preprocessing/src/IntersectableWrapper.cpp @ 1328

Revision 1328, 382 bytes checked in by mattausch, 18 years ago (diff)
Line 
1#include "IntersectableWrapper.h"
2#include "Mesh.h"
3#include "Triangle3.h"
4
5
6namespace GtpVisibilityPreprocessor {
7
8
9AxisAlignedBox3 TriangleIntersectable::GetBox() const
10{       
11        return mItem->GetBoundingBox();
12}
13
14
15int TriangleIntersectable::CastRay(Ray &ray)
16{       // TODO matt
17        return 0;
18}
19       
20
21int TriangleIntersectable::NumberOfFaces() const
22{
23        return 1;
24}
25 
26
27}
Note: See TracBrowser for help on using the repository browser.