Index » Programming » C/C++ » s.sharma 28 Mar 08, 10:05PMParent PostWhat exactly do you want in 3D? The 2d code you've given seems to be mostly concerned with seeing if one triangle matches another.