pgl
PrimitiveOpenGL3Dprimitivelibrary
Classes | Macros
pgl.h File Reference
#include "math.h"
#include <GL/gl.h>
#include <memory>
#include <vector>
#include <fstream>
#include <iostream>
#include "primitive.h"
#include "controller.h"
Include dependency graph for pgl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  pgl::Node
 Node in the scene graph. More...
 
class  pgl::Object
 Object in a scene. More...
 
class  pgl::Scene
 Root node of the scene graph. More...
 
class  pgl::Camera
 Defines camera position and frustum. More...
 
class  pgl::Controller
 Camera controller. More...
 
class  pgl::Texture
 Texture. More...
 
class  pgl::Checkerboard4x4
 Checkerboard texture. More...
 

Macros

#define PGL_RELEASE   0
 
#define PGL_PRESS   1
 
#define PGL_REPEAT   2
 
#define PGL_MOUSE_BUTTON_LEFT   0
 
#define PGL_MOUSE_BUTTON_RIGHT   1
 
#define PGL_MOUSE_BUTTON_MIDDLE   2
 

Detailed Description

PGL, a primitive OpenGL 3D primitive library.

Main headerfile.

(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.