Subversion Repositories gelsvn

Rev

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

Rev 309 Rev 324
Line 21... Line 21...
21
								const Triangle& _tri): BoundingNode<BoxType>(box), tri(_tri) {}
21
								const Triangle& _tri): BoundingNode<BoxType>(box), tri(_tri) {}
22
#else
22
#else
23
	BoundingLNode(const Triangle& _tri): BoundingNode<BoxType>(BoxType()), tri(_tri) {}
23
	BoundingLNode(const Triangle& _tri): BoundingNode<BoxType>(BoxType()), tri(_tri) {}
24
#endif
24
#endif
25
 
25
 
26
	~BoundingLNode() {}
26
	virtual ~BoundingLNode() {}
27
 
27
 
28
	bool intersect(const CGLA::Vec3f&,const CGLA::Vec3f&,float&) const;
28
	bool intersect(const CGLA::Vec3f&,const CGLA::Vec3f&,float&) const;
29
	void intersect(Ray&r) const;
29
	void intersect(Ray&r) const;
30
	int intersect_cnt(const CGLA::Vec3f&,const CGLA::Vec3f&) const;
30
	int intersect_cnt(const CGLA::Vec3f&,const CGLA::Vec3f&) const;
31
 
31