simple.rb

Path: gtkglext/sample/simple.rb
Last Update: Mon Mar 12 14:57:30 +0100 2007

simple.rb: Simple Ruby/GtkGLExt example.

C original version written by Naofumi Yasufuku <naofumi@users.sourceforge.net> Ruby port by Vincent Isambart

Required files

gtkglext  

Methods

Constants

LIGHT_DIFFUSE = [1.0, 0.0, 0.0, 1.0]
LIGHT_POSITION = [1.0, 1.0, 1.0, 0.0]

Public Instance methods

[Validate]