drawing a triangle in 3D