created triangles and ccw routines