/** * Constructs a dome. All geometry data buffers are updated automatically. Both planes and radialSamples increase * the quality of the generated dome. * * @param name * Name of the dome. * @param center * Center of the dome. * @param planes * The number of planes along the Z-axis. * @param radialSamples * The number of samples along the radial. * @param radius * The radius of the dome. */ public Dome(final String name, final Vector3 center, final int planes, final int radialSamples, final double radius) { super(name); setData(center, planes, radialSamples, radius, true, true); }
/** * Constructs a dome. All geometry data buffers are updated automatically. Both planes and radialSamples increase * the quality of the generated dome. * * @param name * Name of the dome. * @param center * Center of the dome. * @param planes * The number of planes along the Z-axis. * @param radialSamples * The number of samples along the radial. * @param radius * The radius of the dome. */ public Dome(final String name, final Vector3 center, final int planes, final int radialSamples, final double radius) { super(name); setData(center, planes, radialSamples, radius, true, true); }
/** * Constructs a dome. All geometry data buffers are updated automatically. Both planes and radialSamples increase * the quality of the generated dome. * * @param name * Name of the dome. * @param center * Center of the dome. * @param planes * The number of planes along the Z-axis. * @param radialSamples * The number of samples along the radial. * @param radius * The radius of the dome. * @param outsideView * If true, the triangles will be connected for a view outside of the dome. */ public Dome(final String name, final Vector3 center, final int planes, final int radialSamples, final double radius, final boolean outsideView) { super(name); setData(center, planes, radialSamples, radius, true, outsideView); }
/** * Constructs a dome. All geometry data buffers are updated automatically. Both planes and radialSamples increase * the quality of the generated dome. * * @param name * Name of the dome. * @param center * Center of the dome. * @param planes * The number of planes along the Z-axis. * @param radialSamples * The number of samples along the radial. * @param radius * The radius of the dome. * @param outsideView * If true, the triangles will be connected for a view outside of the dome. */ public Dome(final String name, final Vector3 center, final int planes, final int radialSamples, final double radius, final boolean outsideView) { super(name); setData(center, planes, radialSamples, radius, true, outsideView); }