GEL
2
GEL is a library for Geometry and Linear Algebra
|
#include <SinglePassWireframeRenderer.h>
Public Member Functions | |
SinglePassWireframeRenderer () | |
The constructor creates the wireframe shader program. It is static so the program is shared. | |
bool | enable (const CGLA::Vec3f &line_color=CGLA::Vec3f(1, 0, 0)) |
Enable the wireframe shader with an optional line color. | |
void | disable () |
Switch back to the shader program which was enabled at the time of calling enable. |
Class for wireframe rendering. Enable it will case all triangles to be drawn to be drawn as wireframe. Only triangles are supported, but it is fast.