Safe HaskellNone

Triangle

Synopsis

Documentation

vertex3f :: (Float, Float, Float) -> IO () #

Function to map coordinates to GLUT Vertex3 for positioning

coord :: Float -> [(Float, Float, Float)] #

Function to find coordinates of equilaterla triangle with tip at the origin

triangle :: Float -> IO () #

Function to draw a triangle of inputted edge length starting at the origin and in 1st quadrant