|
|
|
"...ut in omnibus glorificetur Deus."
(...that in all things God may be glorified.)
Rule of St. Benedict (RB 57:9)
r' key. p' key. c' key. y' key. 0' should be white1' should be red2' should be green3' should be blue4' should be blackf' key [default: unfilled]. For polygons,
your fill routine need only work correctly with convex polygons. You
may not use openGL's built-in fill routines and so you should add the following
to your initialization: glPolygonMode(GL_FRONT, GL_LINE); // set polygon to not fill
glPolygonMode(GL_BACK, GL_LINE); // set polygon to not fillAll of your shapes should be saved in a Drawing class.
The Drawing class should have the following functionality:glutMotionFunc routine to do this
correctly.)Drawing::draw() routine which, in turn calls each
object's draw routine. At the end, there must be a glFlush()
(see example 5: polylines.cpp)hw2" in
your cs251 homework directory.