Project

General

Profile

« Previous | Next » 

Revision f4a2d97e

Added by Leszek Koltunski about 3 years ago

Add testing of MeshPolygon to the MeshFile app.

View differences:

src/main/java/org/distorted/library/mesh/MeshPolygon.java
215 215
 *                   Must be band[2*i] > band[2*(i+1)] !
216 216
 * @param exIndex    This and the next parameter describe how to make the mesh denser at the
217 217
 *                   polyVertices. If e.g. exIndex=3 and exVertices=2, then 3 triangles of the
218
 *                   outermost band (and 2 triangles of the next band, and 1 triange of the third
218
 *                   outermost band (and 2 triangles of the next band, and 1 triangle of the third
219 219
 *                   band) get denser - the 3 triangles become 3+2 = 5.
220 220
 * @param exVertices See above.
221 221
 * @param centerX    the X coordinate of the 'center' of the Polygon, i.e. point of the mesh

Also available in: Unified diff