GLUS
Macros | Functions
glus_shape_adjacency.c File Reference
#include "GL/glus.h"

Macros

#define GLUS_POINT_TOLERANCE   0.001f
 

Functions

GLUSboolean GLUSAPIENTRY glusShapeCreateAdjacencyIndicesf (GLUSshape *adjacencyShape, const GLUSshape *sourceShape)
 Creates a shape with adjacent index data for a triangle. More...
 

Macro Definition Documentation

#define GLUS_POINT_TOLERANCE   0.001f

Function Documentation

GLUSboolean GLUSAPIENTRY glusShapeCreateAdjacencyIndicesf ( GLUSshape adjacencyShape,
const GLUSshape sourceShape 
)

Creates a shape with adjacent index data for a triangle.

Can be used in the geometry shader.

Parameters
adjacencyShapeThe shape with additional adjacent index data.
sourceShapeThe source shape.
Returns
GLUS_TRUE, if creation succeeded.