示例#1
0
//This function takes 3 Line objects that it will fill in with the appropriate points.
void Triangle::formLines(Line& one, Line& two, Line& three)
{
	//A, B
	one.A(mA); one.B(mB);

	//B, C
	two.A(mB); two.B(mC);

	//C, A
	three.A(mC); three.B(mA);
}