Include the definitions to draw spheres, cylinders and disks. More...
#include <config.h>
#include <geometry/geometry.h>
Go to the source code of this file.
Namespaces | |
namespace | shape |
Define a set of shape to be drawn using OpenGL. | |
Functions | |
void | shape::cylinder (const Point3d &base_center, const Point3d &axis, double radius_base, double radius_top, double length, int slices, int stacks, bool closed=true) |
Draw a cylinder. | |
void | shape::disk (const Point3d ¢er, const Point3d &normal, double inner_radius, double outer_radius, int slices, int loops) |
Draw a disk. | |
void | shape::sphere (const Point3d ¢er, double radius, int slices, int stacks) |
Draw a sphere. |
Include the definitions to draw spheres, cylinders and disks.
Definition in file quadric.h.