Revision b17aa4aa
Added by Leszek Koltunski almost 5 years ago
src/main/java/org/distorted/library/mesh/MeshTriangles.java | ||
---|---|---|
20 | 20 |
package org.distorted.library.mesh; |
21 | 21 |
|
22 | 22 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
23 |
|
|
23 |
/** |
|
24 |
* Create a Mesh which approximates an equilateral triangle. |
|
25 |
*/ |
|
24 | 26 |
public class MeshTriangles extends MeshBase |
25 | 27 |
{ |
26 | 28 |
private static final float HEIGHT = (float)Math.sqrt(3)*0.5f; |
Also available in: Unified diff
Minor.