NGL
6.5
The NCCA Graphics Library
|
main definition of types and namespace More...
Go to the source code of this file.
Classes | |
class | CreateCoreGLContext |
Namespaces | |
ngl | |
implementation files for RibExport class | |
Macros | |
#define | NGL_DLLEXPORT |
#define | FCompare(a, b) ( ((a)-ngl::EPSILON)<(b) && ((a)+ngl::EPSILON)>(b) ) |
FCompare macro used for floating point comparision functions. More... | |
#define | NGL_UNUSED(arg) (void)arg; |
define unused to quiet Warnings More... | |
Typedefs | |
using | ngl::PRECISION = GLfloat |
Set the PRECISION of all data types Set PRECISION to be a GLfloat so we only have to change one value to set the data type. More... | |
using | ngl::Real = PRECISION |
create a variable called Real which is the main data type we use (GLfloat for most cases) More... | |
Functions | |
void * | setGL32VisualMac (bool _multisample=true) |
Variables | |
constexpr float | ngl::EPSILON = 0.001f |
define EPSILON for floating point comparison More... | |
main definition of types and namespace
declare a variable called Real which sets the Global Precision for the other classes (GLfloat)
Definition in file Types.h.
#define FCompare | ( | a, | |
b | |||
) | ( ((a)-ngl::EPSILON)<(b) && ((a)+ngl::EPSILON)>(b) ) |
#define NGL_UNUSED | ( | arg | ) | (void)arg; |
void* setGL32VisualMac | ( | bool | _multisample = true | ) |