Project

General

Profile

« Previous | Next » 

Revision 2d732361

Added by Leszek Koltunski about 3 years ago

Face cubit creation: progress, a cube renders correctly :)

View differences:

src/main/java/org/distorted/library/mesh/MeshPolygon.java
24 24
 * Create a polygon of any shape and varying elevations from the edges towards the center.
25 25
 * <p>
26 26
 * Specify a list of vertices. Any two adjacent vertices + the center (0,0,0) form a triangle. The
27
 * polygon is going to be split into such triangles, and each triange is split into adjustable number
27
 * polygon is going to be split into such triangles, and each triangle is split into adjustable number
28 28
 * of 'bands' form the outer edge towards the center. Edges of each band can can at any elevation.
29 29
 */
30 30
public class MeshPolygon extends MeshBase

Also available in: Unified diff