computeShapeFlags

static int computeShapeFlags(QuadView quad)

Analyzes the quad and returns a value with some combinationof AXIS_ALIGNED_FLAG, LIGHT_FACE_FLAG and CUBIC_FLAG.Intended use is to optimize lighting when the geometry is regular.Expects convex quads with all points co-planar.

Sources

jvm source
Link copied to clipboard