pgl
PrimitiveOpenGL3Dprimitivelibrary
Classes | Macros
primitive.h File Reference
#include "pgl.h"
Include dependency graph for primitive.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  pgl::Primitive
 Basic 3D primitive. More...
 
class  pgl::Box
 Box Primitive. More...
 
class  pgl::WireBox
 Wireframe box Primitive. More...
 
class  pgl::Sphere
 Sphere Primitive. More...
 
class  pgl::Cylinder
 Generalized cylinder Primitive. More...
 
class  pgl::Cone
 Cylinder ending in a point. More...
 
class  pgl::Arrow
 Arrow Primitive. More...
 
class  pgl::Capsule
 Capsule Primitive. More...
 
class  pgl::Plane
 Plane Primitive. More...
 
class  pgl::Model
 STL model. More...
 
struct  pgl::Model::Triangle
 

Macros

#define FACETS   20
 

Detailed Description

PGL, a primitive OpenGL 3D primitive library.

This file contains various 3D primitives.

(c) 2020, Wouter Caarls.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.