Class PlaneFactory


  • public class PlaneFactory
    extends java.lang.Object
    • Constructor Detail

      • PlaneFactory

        public PlaneFactory()
    • Method Detail

      • makePlane

        public static ModelRenderable makePlane​(Vector3 size,
                                                Vector3 center,
                                                Material material)
        Creates a ModelRenderable in the shape of a plane with the given specifications.
        Parameters:
        size - the size of the constructed plane
        center - the center of the constructed plane
        material - the material to use for rendering the plane
        Returns:
        renderable representing a plane with the given parameters