btds_sim_phys.cpp
// converts 3 index to a full fleshed triangle
converts 3 index to a full fleshed triangle
converts 3 index to a full fleshed triangle
Triangle2d toTriangle(SimObj* o, int* indexList)
	{
		static const int ri = 0;
		return Triangle2d(o->verts[indexList[0]].r[ri].v,
			o->verts[indexList[1]].r[ri].v,
			o->verts[indexList[2]].r[ri].v);
	}
Triangle2d toTriangle ( SimObj * o , int * indexList ) { static const int ri = 0 ; return Triangle2d ( o -> verts [ indexList [ 0 ] ] . r [ ri ] . v , o -> verts [ indexList [ 1 ] ] . r [ ri ] . v , o -> verts [ indexList [ 2 ] ] . r [ ri ] . v ) ; }
converts 3 index to a full fleshed triangle
converts 3 index to a full fleshed triangle
// assumed init