Package renderer.models_L
Class PanelXZ
- java.lang.Object
-
- renderer.scene.Model
-
- renderer.models_L.PanelXZ
-
-
Field Summary
-
Fields inherited from class renderer.scene.Model
colorList, name, primitiveList, vertexList, visible
-
-
Constructor Summary
Constructors Constructor Description PanelXZ()
Create a flat checkerboard panel in the xz-plane that runs from -1 to 1 in the x-direction and -1 to 1 in the z-direction.PanelXZ(int xMin, int xMax, int zMin, int zMax)
Create a flat checkerboard panel in the xz-plane with the given dimensions.PanelXZ(int xMin, int xMax, int zMin, int zMax, double y)
Create a flat checkerboard panel parallel to the xz-plane with the given dimensions.
-
-
-
Constructor Detail
-
PanelXZ
public PanelXZ()
Create a flat checkerboard panel in the xz-plane that runs from -1 to 1 in the x-direction and -1 to 1 in the z-direction.
-
PanelXZ
public PanelXZ(int xMin, int xMax, int zMin, int zMax)
Create a flat checkerboard panel in the xz-plane with the given dimensions.- Parameters:
xMin
- location of left edgexMax
- location of right edgezMin
- location of back edgezMax
- location of front edge
-
PanelXZ
public PanelXZ(int xMin, int xMax, int zMin, int zMax, double y)
Create a flat checkerboard panel parallel to the xz-plane with the given dimensions.- Parameters:
xMin
- location of left edgexMax
- location of right edgezMin
- location of back edgezMax
- location of front edgey
- y-plane that holds the panel
-
-