Visual Computing Library
|
The CompId struct enumerates the components that can compose a element or a mesh. More...
#include <vclib/types/mesh_components.h>
The CompId struct enumerates the components that can compose a element or a mesh.
The components are identified by an unsigned integer value, that can be used to access the component of the element or mesh through a template parameter, without having to know the actual type of the component.
For example, you can access the coordinate component of an element with the following code: