Package jgl.context.attrib
Class gl_viewport
- java.lang.Object
-
- jgl.context.attrib.gl_viewport
-
public class gl_viewport extends Object
gl_viewport is the viewport class of jGL 2.4.- Version:
- 0.2, 15 Mar 2001
- Author:
- Robin Bing-Yu Chen
-
-
Constructor Summary
Constructors Constructor Description gl_viewport()
gl_viewport(gl_viewport cc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
set_depth_range(float n, float f)
void
set_viewport(int x, int y, int width, int height)
float[]
Transformation(float[] NDC)
Viewport Transformation from normalized dievice coord. to win. coord.
-
-
-
Field Detail
-
X
public int X
GL_VIEWPORT: Viewport origin and extent
-
Y
public int Y
-
Width
public int Width
-
Height
public int Height
-
Size
public int Size
-
Near
public float Near
GL_DEPTH_RANGE: Depth range near and far
-
Far
public float Far
-
Sx
public float Sx
-
Sy
public float Sy
-
Sz
public float Sz
-
Tx
public float Tx
-
Ty
public float Ty
-
Tz
public float Tz
-
-
Constructor Detail
-
gl_viewport
public gl_viewport(gl_viewport cc)
-
gl_viewport
public gl_viewport()
-
-