Subversion Repositories gelsvn

Rev

Rev 307 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 307 Rev 308
Line 34... Line 34...
34
{
34
{
35
	return root->intersect(p,dir,tmin);
35
	return root->intersect(p,dir,tmin);
36
}
36
}
37
 
37
 
38
template<class BoxType>
38
template<class BoxType>
-
 
39
void BoundingTree<BoxType>::intersect(Ray& r) const 
-
 
40
{
-
 
41
		root->intersect(r);
-
 
42
}
-
 
43
 
-
 
44
template<class BoxType>
39
int BoundingTree<BoxType>::intersect_cnt(const CGLA::Vec3f& p, 
45
int BoundingTree<BoxType>::intersect_cnt(const CGLA::Vec3f& p, 
40
																	 const CGLA::Vec3f& dir) const
46
																	 const CGLA::Vec3f& dir) const
41
{
47
{
42
	return root->intersect_cnt(p,dir);
48
	return root->intersect_cnt(p,dir);
43
}
49
}
Line 179... Line 185...
179
}
185
}
180
 
186
 
181
template BoundingTree<AABox>;
187
template BoundingTree<AABox>;
182
template BoundingTree<OBox>;
188
template BoundingTree<OBox>;
183
 
189
 
184
}
-
 
185
 
190
}
-
 
191