Class ParticleStyleIcosphere.Icosahedron
java.lang.Object
dev.esophose.playerparticles.styles.ParticleStyleIcosphere.Icosahedron
- Enclosing class:
- ParticleStyleIcosphere
public static class ParticleStyleIcosphere.Icosahedron
extends java.lang.Object
Largely taken from https://www.javatips.net/api/vintagecraft-master/src/main/java/at/tyron/vintagecraft/Client/Render/Math/Icosahedron.java
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ParticleStyleIcosphere.Icosahedron.Triangle
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Icosahedron(int depth, double radius)
-
Method Summary
Modifier and Type Method Description java.util.List<ParticleStyleIcosphere.Icosahedron.Triangle>
getTriangles()
static double
mod(double[] v)
-
Field Details
-
Constructor Details
-
Icosahedron
public Icosahedron(int depth, double radius)
-
-
Method Details
-
mod
public static double mod(double[] v) -
getTriangles
-