Package jgl.context.geometry
Class gl_geometry
- java.lang.Object
-
- jgl.context.geometry.gl_geometry
-
- Direct Known Subclasses:
gl_depth_geo
,gl_smooth_geo
,gl_tex_geo
,gle_phong_geo
public class gl_geometry extends Object
gl_geometry is the basic geometry class of jGL 2.4.- Version:
- 0.5, 17 Dec. 2002
- Author:
- Robin Bing-Yu Chen
-
-
Field Summary
Fields Modifier and Type Field Description protected gl_context
CC
int
countBegin
protected gl_pointer
CR
protected boolean
LineReset
protected int
VertexSize
-
Constructor Summary
Constructors Constructor Description gl_geometry(gl_context cc, gl_pointer cr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
copy_vertex(int s, int d)
protected void
draw_point(float[] p, int i)
protected void
extend_array()
void
gl_begin()
void
gl_end()
void
gl_vertex()
protected gl_vertex[]
pack_line(int i, int j)
protected gl_polygon
pack_polygon(int size)
protected void
PerspectiveDivision(gl_polygon p)
protected void
set_vertex(int i)
protected void
VertexTransformation(gl_polygon p)
-
-
-
Field Detail
-
CC
protected gl_context CC
-
CR
protected gl_pointer CR
-
VertexSize
protected int VertexSize
-
LineReset
protected boolean LineReset
-
countBegin
public int countBegin
-
-
Constructor Detail
-
gl_geometry
public gl_geometry(gl_context cc, gl_pointer cr)
-
-
Method Detail
-
VertexTransformation
protected void VertexTransformation(gl_polygon p)
-
PerspectiveDivision
protected void PerspectiveDivision(gl_polygon p)
-
draw_point
protected void draw_point(float[] p, int i)
-
pack_line
protected gl_vertex[] pack_line(int i, int j)
-
pack_polygon
protected gl_polygon pack_polygon(int size)
-
set_vertex
protected void set_vertex(int i)
-
copy_vertex
protected void copy_vertex(int s, int d)
-
extend_array
protected void extend_array()
-
gl_begin
public void gl_begin()
-
gl_end
public void gl_end()
-
gl_vertex
public void gl_vertex()
-
-