Subversion Repositories gelsvn

Rev

Rev 309 | Rev 443 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 309 Rev 324
Line 19... Line 19...
19
	BoundingINode(const BoxType& box,
19
	BoundingINode(const BoxType& box,
20
								BoundingNode<BoxType>* _left,
20
								BoundingNode<BoxType>* _left,
21
								BoundingNode<BoxType>* _right): 
21
								BoundingNode<BoxType>* _right): 
22
		BoundingNode<BoxType>(box), left(_left), right(_right) {}
22
		BoundingNode<BoxType>(box), left(_left), right(_right) {}
23
 
23
 
24
	~BoundingINode() {delete left; delete right;}
24
	virtual ~BoundingINode() {delete left; delete right;}
25
 
25
 
26
	bool intersect(const CGLA::Vec3f&,const CGLA::Vec3f&,float&) const; 
26
	bool intersect(const CGLA::Vec3f&,const CGLA::Vec3f&,float&) const; 
27
	void intersect(Ray&  r) const; 
27
	void intersect(Ray&  r) const; 
28
	int intersect_cnt(const CGLA::Vec3f&,const CGLA::Vec3f&) const;
28
	int intersect_cnt(const CGLA::Vec3f&,const CGLA::Vec3f&) const;
29
 
29