BlenderTesselator: disable GLU tesselation code by default.

pull/187/head
acgessler 2013-11-22 13:58:40 +01:00
parent fbb1a79248
commit 857e50ba40
1 changed files with 11 additions and 2 deletions

View File

@ -45,8 +45,17 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define INCLUDED_AI_BLEND_TESSELLATOR_H
// Use these to toggle between GLU Tessellate or poly2tri
#define ASSIMP_BLEND_WITH_GLU_TESSELLATE 1
#define ASSIMP_BLEND_WITH_POLY_2_TRI 1
// Note (acg) keep GLU Tesselate disabled by default - if it is turned on,
// assimp needs to be linked against GLU, which is currently not yet
// made configurable in CMake and potentially not wanted by most users
// as it requires a Gl environment.
#ifndef ASSIMP_BLEND_WITH_GLU_TESSELLATE
# define ASSIMP_BLEND_WITH_GLU_TESSELLATE 0
#endif
#ifndef ASSIMP_BLEND_WITH_POLY_2_TRI
# define ASSIMP_BLEND_WITH_POLY_2_TRI 1
#endif
#include "LogAux.h"