KrisLibrary  1.0.0
drawgeometry.h
1 #ifndef GL_DRAWGEOMETRY_H
2 #define GL_DRAWGEOMETRY_H
3 
4 
5 #include <KrisLibrary/math3d/geometry2d.h>
6 #include <KrisLibrary/math3d/geometry3d.h>
7 #include "GL.h"
8 
9 namespace GLDraw {
10 
11  using namespace Math3D;
12 
13  void draw(const GeometricPrimitive2D& geom);
14  void draw(const GeometricPrimitive3D& geom);
15  void draw(const ConvexPolygon2D& geom);
16 
17 } //namespace GLDraw
18 
19 #endif
A generic 3D geometric primitive class.
Definition: geometry3d.h:33
A generic 2D geometric primitive class.
Definition: geometry2d.h:24
Contains all the definitions in the Math3D package.
Definition: AnyGeometry.h:13
Contains all definitions in the GLDraw package.
Definition: AnyGeometry.h:14
A convex connected polygon such that the vertices are in ccw order.
Definition: Polygon2D.h:61