opengl-bindings 1.6.11 → 1.6.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog +669 -657
- data/LICENSE.txt +1 -1
- data/README.md +656 -536
- data/lib/glfw.rb +711 -711
- data/lib/glu.rb +366 -366
- data/lib/glut.rb +576 -576
- data/lib/opengl.rb +43 -43
- data/lib/opengl_command.rb +7347 -7347
- data/lib/opengl_common.rb +54 -54
- data/lib/opengl_enum.rb +1818 -1818
- data/lib/opengl_es.rb +31 -31
- data/lib/opengl_es_command.rb +2517 -2517
- data/lib/opengl_es_ext.rb +28 -28
- data/lib/opengl_es_ext_command.rb +8432 -8377
- data/lib/opengl_es_ext_enum.rb +6133 -6055
- data/lib/opengl_ext.rb +34 -34
- data/lib/opengl_ext_command.rb +30778 -30480
- data/lib/opengl_ext_common.rb +52 -52
- data/lib/opengl_ext_enum.rb +14137 -14082
- data/lib/opengl_linux.rb +63 -63
- data/lib/opengl_macosx.rb +68 -68
- data/lib/opengl_platform.rb +43 -43
- data/lib/opengl_windows.rb +71 -71
- data/sample/glfw_build.bat +0 -0
- data/sample/glfw_build.sh +13 -13
- metadata +9 -9
data/lib/opengl.rb
CHANGED
@@ -1,43 +1,43 @@
|
|
1
|
-
begin
|
2
|
-
# puts "Loading C Edition."
|
3
|
-
require 'opengl_c'
|
4
|
-
rescue LoadError
|
5
|
-
# puts "Loading Ruby Edition."
|
6
|
-
require_relative 'opengl_platform'
|
7
|
-
require_relative 'opengl_common'
|
8
|
-
require_relative 'opengl_enum'
|
9
|
-
require_relative 'opengl_command'
|
10
|
-
if OpenGL.get_platform == :OPENGL_PLATFORM_WINDOWS
|
11
|
-
require_relative 'opengl_windows'
|
12
|
-
end
|
13
|
-
if OpenGL.get_platform == :OPENGL_PLATFORM_MACOSX
|
14
|
-
require_relative 'opengl_macosx'
|
15
|
-
end
|
16
|
-
if OpenGL.get_platform == :OPENGL_PLATFORM_LINUX
|
17
|
-
require_relative 'opengl_linux'
|
18
|
-
end
|
19
|
-
end
|
20
|
-
|
21
|
-
=begin
|
22
|
-
Ruby-OpenGL : Yet another OpenGL wrapper for Ruby (and wrapper code generator)
|
23
|
-
Copyright (c) 2013-
|
24
|
-
|
25
|
-
This software is provided 'as-is', without any express or implied
|
26
|
-
warranty. In no event will the authors be held liable for any damages
|
27
|
-
arising from the use of this software.
|
28
|
-
|
29
|
-
Permission is granted to anyone to use this software for any purpose,
|
30
|
-
including commercial applications, and to alter it and redistribute it
|
31
|
-
freely, subject to the following restrictions:
|
32
|
-
|
33
|
-
1. The origin of this software must not be misrepresented; you must not
|
34
|
-
claim that you wrote the original software. If you use this software
|
35
|
-
in a product, an acknowledgment in the product documentation would be
|
36
|
-
appreciated but is not required.
|
37
|
-
|
38
|
-
2. Altered source versions must be plainly marked as such, and must not be
|
39
|
-
misrepresented as being the original software.
|
40
|
-
|
41
|
-
3. This notice may not be removed or altered from any source
|
42
|
-
distribution.
|
43
|
-
=end
|
1
|
+
begin
|
2
|
+
# puts "Loading C Edition."
|
3
|
+
require 'opengl_c'
|
4
|
+
rescue LoadError
|
5
|
+
# puts "Loading Ruby Edition."
|
6
|
+
require_relative 'opengl_platform'
|
7
|
+
require_relative 'opengl_common'
|
8
|
+
require_relative 'opengl_enum'
|
9
|
+
require_relative 'opengl_command'
|
10
|
+
if OpenGL.get_platform == :OPENGL_PLATFORM_WINDOWS
|
11
|
+
require_relative 'opengl_windows'
|
12
|
+
end
|
13
|
+
if OpenGL.get_platform == :OPENGL_PLATFORM_MACOSX
|
14
|
+
require_relative 'opengl_macosx'
|
15
|
+
end
|
16
|
+
if OpenGL.get_platform == :OPENGL_PLATFORM_LINUX
|
17
|
+
require_relative 'opengl_linux'
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
=begin
|
22
|
+
Ruby-OpenGL : Yet another OpenGL wrapper for Ruby (and wrapper code generator)
|
23
|
+
Copyright (c) 2013-2022 vaiorabbit <http://twitter.com/vaiorabbit>
|
24
|
+
|
25
|
+
This software is provided 'as-is', without any express or implied
|
26
|
+
warranty. In no event will the authors be held liable for any damages
|
27
|
+
arising from the use of this software.
|
28
|
+
|
29
|
+
Permission is granted to anyone to use this software for any purpose,
|
30
|
+
including commercial applications, and to alter it and redistribute it
|
31
|
+
freely, subject to the following restrictions:
|
32
|
+
|
33
|
+
1. The origin of this software must not be misrepresented; you must not
|
34
|
+
claim that you wrote the original software. If you use this software
|
35
|
+
in a product, an acknowledgment in the product documentation would be
|
36
|
+
appreciated but is not required.
|
37
|
+
|
38
|
+
2. Altered source versions must be plainly marked as such, and must not be
|
39
|
+
misrepresented as being the original software.
|
40
|
+
|
41
|
+
3. This notice may not be removed or altered from any source
|
42
|
+
distribution.
|
43
|
+
=end
|