Class gl_tex

  • Direct Known Subclasses:
    gl_tex_z

    public class gl_tex
    extends gl_depth
    gl_tex is the rendering class for texturing of jGL 2.4.
    Version:
    0.3, 16 May 2003
    Author:
    Robin Bing-Yu Chen
    • Field Detail

      • LineW

        protected float[] LineW
      • LineST

        protected float[][] LineST
      • w

        protected float w
      • dwdx

        protected float dwdx
      • dwdy

        protected float dwdy
      • s

        protected float s
      • dsdx

        protected float dsdx
      • dsdy

        protected float dsdy
      • t

        protected float t
      • dtdx

        protected float dtdx
      • dtdy

        protected float dtdy
      • r

        protected float r
      • drdx

        protected float drdx
      • drdy

        protected float drdy
      • LeftPointW

        protected float LeftPointW
      • LeftPointS

        protected float LeftPointS
      • LeftPointT

        protected float LeftPointT
      • LeftPointR

        protected float LeftPointR
    • Constructor Detail

    • Method Detail

      • set_first_tex

        protected void set_first_tex()
      • init_tex_dx

        protected void init_tex_dx​(int dx)
      • init_tex_dy

        protected void init_tex_dy​(int dy)
      • init_dx

        protected void init_dx​(int dx)
        Overrides:
        init_dx in class gl_depth
      • init_dy

        protected void init_dy​(int dy)
        Overrides:
        init_dy in class gl_depth
      • tex_inc_x

        protected void tex_inc_x()
      • tex_dec_x

        protected void tex_dec_x()
      • tex_inc_y

        protected void tex_inc_y()
      • inc_x

        protected void inc_x()
        Overrides:
        inc_x in class gl_depth
      • dec_x

        protected void dec_x()
        Overrides:
        dec_x in class gl_depth
      • inc_y

        protected void inc_y()
        Overrides:
        inc_y in class gl_depth
      • draw_horizontal_line

        protected void draw_horizontal_line​(int x1,
                                            int x2,
                                            int y,
                                            float w1,
                                            float s1,
                                            float t1,
                                            float r1)
      • set_left_tex

        protected void set_left_tex​(int pos)
      • set_left

        protected void set_left​(int pos)
        Overrides:
        set_left in class gl_depth
      • init_tex_dx_dy

        protected void init_tex_dx_dy​(int area,
                                      int left,
                                      int right,
                                      int top)
      • init_dx_dy

        protected void init_dx_dy​(int area,
                                  int left,
                                  int right,
                                  int top)
        Overrides:
        init_dx_dy in class gl_depth
      • init_tex_other

        protected void init_tex_other​(boolean delta,
                                      int dy)
      • init_other

        protected void init_other​(boolean delta,
                                  int dy)
        Overrides:
        init_other in class gl_depth
      • tex_inc_y_once

        protected void tex_inc_y_once()
      • tex_inc_y_more

        protected void tex_inc_y_more()