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

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