All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.treblereel.gwt.three4g.geometries.OctahedronBufferGeometry Maven / Gradle / Ivy

package org.treblereel.gwt.three4g.geometries;

import jsinterop.annotations.JsType;
import org.treblereel.gwt.three4g.core.BufferGeometry;
import org.treblereel.gwt.three4g.geometries.parameters.OctahedronGeometryParameters;

/**
 * A class for generating an octahedron geometry.
 *
 * @author Dmitrii Tikhomirov
 * Created by treblereel on 5/3/18.
 */
@JsType(isNative = true, namespace = "THREE")
public class OctahedronBufferGeometry extends BufferGeometry {

    public OctahedronGeometryParameters parameters;

    /**
     * @param radius — Radius of the octahedron. Default is 1.
     * @param detail — Default is 0. Setting this to a value greater than zero add vertices making it no longer an octahedron.
     */
    public OctahedronBufferGeometry(float radius, int detail) {

    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy