minor bug
This commit is contained in:
parent
65c81124dd
commit
ee86220f5c
|
@ -24,6 +24,9 @@
|
||||||
History
|
History
|
||||||
|
|
||||||
$Log: not supported by cvs2svn $
|
$Log: not supported by cvs2svn $
|
||||||
|
Revision 1.5 2004/05/05 08:21:55 cignoni
|
||||||
|
syntax errors in inersection plane line.
|
||||||
|
|
||||||
Revision 1.4 2004/05/04 02:37:58 ganovelli
|
Revision 1.4 2004/05/04 02:37:58 ganovelli
|
||||||
Triangle3<T> replaced by TRIANGLE
|
Triangle3<T> replaced by TRIANGLE
|
||||||
Segment<T> replaced by EDGETYPE
|
Segment<T> replaced by EDGETYPE
|
||||||
|
@ -174,7 +177,7 @@ inline bool Intersection( Point3<T> V0,Point3<T> V1,Point3<T> V2,
|
||||||
template<typename TRIANGLETYPE,typename SEGMENTTYPE >
|
template<typename TRIANGLETYPE,typename SEGMENTTYPE >
|
||||||
inline bool Intersection(const TRIANGLETYPE & t0,const TRIANGLETYPE & t1,bool &coplanar,
|
inline bool Intersection(const TRIANGLETYPE & t0,const TRIANGLETYPE & t1,bool &coplanar,
|
||||||
SEGMENTTYPE & sg){
|
SEGMENTTYPE & sg){
|
||||||
Point3<T> ip0,ip1;
|
Point3<SEGMENTTYPE::PointType> ip0,ip1;
|
||||||
return tri_tri_intersect_with_isectline(t0.P0(0),t0.P0(1),t0.P0(2),
|
return tri_tri_intersect_with_isectline(t0.P0(0),t0.P0(1),t0.P0(2),
|
||||||
t1.P0(0),t1.P0(1),t1.P0(2),
|
t1.P0(0),t1.P0(1),t1.P0(2),
|
||||||
coplanar,sg.P0(),sg.P1()
|
coplanar,sg.P0(),sg.P1()
|
||||||
|
|
Loading…
Reference in New Issue