class VERTEX

Features exported to ANY

Direct parents

non-conformant parents

SMART_GL

Summary

creation features

exported features

Details

make (cx: REAL, cy: REAL, cz: REAL)

ensure

  • x = cx
  • y = cy
  • z = cz

make_with_color (cx: REAL, cy: REAL, cz: REAL, cr: REAL, cg: REAL, cb: REAL, ca: REAL)
make_with_color_object (cx: REAL, cy: REAL, cz: REAL, co: GL_COLOR)
make (cx: REAL, cy: REAL, cz: REAL)

ensure

  • x = cx
  • y = cy
  • z = cz

make_with_color (cx: REAL, cy: REAL, cz: REAL, cr: REAL, cg: REAL, cb: REAL, ca: REAL)
make_with_color_object (cx: REAL, cy: REAL, cz: REAL, co: GL_COLOR)
set_color (co: GL_COLOR)

require

  • co /= Void

ensure

  • color = co

set_normal (cx: REAL, cy: REAL, cz: REAL)

ensure

  • has_normal = True

set_1d_texture_coord (cs: REAL)

ensure

  • s = cs

set_2d_texture_coord (cs: REAL, ct: REAL)

ensure

  • s = cs
  • t = ct

set_3d_texture_coord (cs: REAL, ct: REAL, cr: REAL)

ensure

  • s = cs
  • t = ct
  • r = cr

set_4d_texture_coord (cs: REAL, ct: REAL, cr: REAL, cq: REAL)

ensure

  • s = cs
  • t = ct
  • r = cr
  • q = cq

x: REAL
y: REAL
z: REAL
nx: REAL
ny: REAL
nz: REAL
s: REAL
t: REAL
r: REAL
q: REAL
color: GL_COLOR
is_translucent: BOOLEAN
render
has_normal: BOOLEAN
set_clear_color (red: REAL, green: REAL, blue: REAL, alpha: REAL)
set_clear_depth (depth: REAL)
translate (x: REAL, y: REAL, z: REAL)
rotate (angle: REAL, axis_x: REAL, axis_y: REAL, axis_z: REAL)
scale (x: REAL, y: REAL, z: REAL)
begin_rendering
end_rendering
begin_points

require

    ensure

      begin_lines

      require

        ensure

          begin_line_strip

          require

            ensure

              begin_line_loop

              require

                ensure

                  begin_triangles

                  require

                    ensure

                      begin_triangle_strip

                      require

                        ensure

                          begin_triangle_fan

                          require

                            ensure

                              begin_quads

                              require

                                ensure

                                  begin_quad_strip

                                  require

                                    ensure

                                      begin_polygon

                                      require

                                        ensure

                                          end_primitive

                                          require

                                            ensure

                                              vertex (x: REAL, y: REAL, z: REAL)
                                              full_red: GL_COLOR
                                              full_green: GL_COLOR
                                              full_blue: GL_COLOR
                                              full_yellow: GL_COLOR
                                              full_magenta: GL_COLOR
                                              full_cyan: GL_COLOR
                                              full_white: GL_COLOR
                                              full_black: GL_COLOR
                                              gl: GL
                                              glu: GLU