Sha256: 5fafde3438b753c0f5067b6cf48a01dd8bbdfa27a15ecd2c7b24080f8b9ff11a
Contents?: true
Size: 488 Bytes
Versions: 1
Compression:
Stored size: 488 Bytes
Contents
#!/usr/bin/env ruby -w # Copyright (C) 2004-2005 Kouichirou Eto, All rights reserved. $LOAD_PATH.unshift("..") if !$LOAD_PATH.include?("..") require "sgl/opengl" require "test/unit" class TestOpenGLBasic < Test::Unit::TestCase def test_all app = SGL::Application.new app.set_setup { app.window(100, 100) app.runtime = 0.1 } @i = 0 app.set_display { app.line(0, 0, 100, @i*5) @i += 2 @i = 0 if 20 < @i } app.mainloop end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sgl-0.3.1 | test/test_opengl_basic.rb |