Visualization LibraryA lightweight C++ OpenGL middleware for 2D/3D graphics |
[Home] [Tutorials] [All Classes] [Grouped Classes] |
#include <vlCore/GLSLmath.hpp>#include <vlCore/Plane.hpp>#include <cstdio>#include <memory.h>#include <vector>Go to the source code of this file.
Namespaces | |
| namespace | vl |
Visualization Library namespace. | |
Functions | |
| VLCORE_EXPORT Real | vl::randomMinMax (Real min, Real max) |
| Returns a random number N that between 'min' and 'max' included. | |
| VLCORE_EXPORT int | vl::greaterEqualPow2 (int n) |
| Returns a number N that is a power of 2 and that is equal to or greater than 'n'. | |
| VLCORE_EXPORT int | vl::smallerEqualPow2 (int n) |
| Returns a number N that is a power of 2 and that is equal to or smaller than 'n'. | |
| VLCORE_EXPORT void | vl::extractPlanes (Plane *planes, const mat4 &modelviewproj) |
| Extracts the 6 frustum planes for the given model-view-projection matrix. | |