opengl-bindings 1.6.11 → 1.6.13

Sign up to get free protection for your applications and to get access to all the features.
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-2021 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
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-2023 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