Jim Sager wrote: > apps/tutorial/simpmap/simpmap.cpp:118: error: no matching function for > call to ‘csIntersect3::TriangleTriangle(const csVector3 (*)[3], const > csVector3 (*)[3], csSegment3&, bool&)’ > ./include/csgeom/math3d.h:676: note: static bool > csIntersect3::TriangleTriangle(const csVector3*, const csVector3*, > csSegment3&, bool&) > Here's my code > return a.TriangleTriangle(&tri1,&tri2,line,tf);
Remove the ampersands (&) from your function invocation. To understand the issue, see the discussion of "array and pointer equivalence" in a C or C++ reference. -- ES ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Crystal-main mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/crystal-main Unsubscribe: mailto:[EMAIL PROTECTED]
