Class Icosahedron


  • public final class Icosahedron
    extends Object
    Icosahedron spheres.

    Based on https://github.com/caosdoar/spheres

    Author:
    Jean-Yves Tinevez
    • Method Detail

      • core

        public static final Mesh core()
      • refine

        public static final BufferMesh refine​(Mesh core)
        Creates a new, finer icosahedron, based on the one specified, by subdividing each triangle into 4 smaller triangle, with vertices still on the icosahedron.
        Parameters:
        core - the sphere to subdivide.
        Returns:
        a new sphere with 4 times the number of triangles and 6 times the number of vertices.