| java.lang.Object | |
| ↳ | casmi.graphics.object.Ortho |
Ortho class. Works like glOrtho. Wrapper of orthogonal projection for JOGL
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates Ortho object with the clipping plane.
| |||||||||||
Creates Frustum object with the default parameter.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Sets the clipping plane.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
casmi.graphics.object.Projection
| |||||||||||
Creates Ortho object with the clipping plane.
| left | The left coordinate of the clipping plane. |
|---|---|
| right | The right coordinate of the clipping plane. |
| bottom | The bottom coordinate of the clipping plane. |
| top | The top coordinate of the clipping plane. |
| near | The near coordinate of the clipping plane. |
| far | The far coordinate of the clipping plane. |
Creates Frustum object with the default parameter. The default parameter is Ortho(0, this.width, 0, this.height, -1.0e10, 1.0e10).
Sets the clipping plane.
| left | The left coordinate of the clipping plane. |
|---|---|
| right | The right coordinate of the clipping plane. |
| bottom | The bottom coordinate of the clipping plane. |
| top | The top coordinate of the clipping plane. |
| near | The near coordinate of the clipping plane. |
| far | The far coordinate of the clipping plane. |