DunGen  1.1
Dungeongenerator library for Irrlicht
Public Types | List of all members
DunGen::ENormalWeightMethod Struct Reference

Methods for normal weighting: how are the triangle normals weighted when combining to vertex normals. More...

#include <MeshCaveCommon.h>

Public Types

enum  Enum { BY_AREA = 0, BY_ANGLE = 1, UNIFORM = 2 }
 

Detailed Description

Methods for normal weighting: how are the triangle normals weighted when combining to vertex normals.

Member Enumeration Documentation

Enumerator
BY_AREA 

Triangle normals are weighted with their area.

BY_ANGLE 

Triangle normals are weighted with the angles they have in each vertex they belong to.

UNIFORM 

Triangle normals are weighted with 1.