Visualization Library 2.1.0
A lightweight C++ OpenGL middleware for 2D/3D graphics
|
[Download] [Tutorials] [All Classes] [Grouped Classes] |
The TriangleStripGenerator class is used to substitute lists of triangles or quads with triangle strips. More...
#include <TriangleStripGenerator.hpp>
Static Public Member Functions | |
static void | stripfy (Geometry *geom, int cache_size=22, bool merge_strips=true, bool remove_doubles=true, bool substitute_quads=true) |
The TriangleStripGenerator class is used to substitute lists of triangles or quads with triangle strips.
Definition at line 44 of file TriangleStripGenerator.hpp.
|
static |
Definition at line 73 of file TriangleStripGenerator.cpp.
References vl::Geometry::drawCalls(), vl::ref< T >::get(), vl::DrawElements< arr_type >::indexBuffer(), vl::Geometry::mergeTriangleStrips(), vl::PT_TRIANGLE_STRIP, vl::PT_TRIANGLES, vl::ArrayAbstract::ptr(), vl::DoubleVertexRemover::removeDoubles(), and vl::Array< T_VectorType, T_Scalar, T_GL_Size, T_GL_Type >::resize().
Referenced by vl::GeometryLoadCallback::operator()().
Visualization Library 2.1.0 Reference Documentation
Updated on Wed Mar 10 2021 16:02:55.
© Copyright Michele Bosi. All rights reserved.