opengl-bindings2 2.0.0.rc1 → 2.0.0rc2

Sign up to get free protection for your applications and to get access to all the features.
data/lib/opengl.rb CHANGED
@@ -1,36 +1,36 @@
1
- require_relative 'opengl_platform'
2
- require_relative 'opengl_common'
3
- require_relative 'opengl_enum'
4
- require_relative 'opengl_command'
5
- case GL.get_platform
6
- when :OPENGL_PLATFORM_WINDOWS
7
- require_relative 'opengl_windows'
8
- when :OPENGL_PLATFORM_MACOSX
9
- require_relative 'opengl_macosx'
10
- when :OPENGL_PLATFORM_LINUX
11
- require_relative 'opengl_linux'
12
- end
13
-
14
- =begin
15
- Ruby-OpenGL : Yet another OpenGL wrapper for Ruby (and wrapper code generator)
16
- Copyright (c) 2013-2022 vaiorabbit <http://twitter.com/vaiorabbit>
17
-
18
- This software is provided 'as-is', without any express or implied
19
- warranty. In no event will the authors be held liable for any damages
20
- arising from the use of this software.
21
-
22
- Permission is granted to anyone to use this software for any purpose,
23
- including commercial applications, and to alter it and redistribute it
24
- freely, subject to the following restrictions:
25
-
26
- 1. The origin of this software must not be misrepresented; you must not
27
- claim that you wrote the original software. If you use this software
28
- in a product, an acknowledgment in the product documentation would be
29
- appreciated but is not required.
30
-
31
- 2. Altered source versions must be plainly marked as such, and must not be
32
- misrepresented as being the original software.
33
-
34
- 3. This notice may not be removed or altered from any source
35
- distribution.
36
- =end
1
+ require_relative 'opengl_platform'
2
+ require_relative 'opengl_common'
3
+ require_relative 'opengl_enum'
4
+ require_relative 'opengl_command'
5
+ case GL.get_platform
6
+ when :OPENGL_PLATFORM_WINDOWS
7
+ require_relative 'opengl_windows'
8
+ when :OPENGL_PLATFORM_MACOSX
9
+ require_relative 'opengl_macosx'
10
+ when :OPENGL_PLATFORM_LINUX
11
+ require_relative 'opengl_linux'
12
+ end
13
+
14
+ =begin
15
+ Ruby-OpenGL : Yet another OpenGL wrapper for Ruby (and wrapper code generator)
16
+ Copyright (c) 2013-2022 vaiorabbit <http://twitter.com/vaiorabbit>
17
+
18
+ This software is provided 'as-is', without any express or implied
19
+ warranty. In no event will the authors be held liable for any damages
20
+ arising from the use of this software.
21
+
22
+ Permission is granted to anyone to use this software for any purpose,
23
+ including commercial applications, and to alter it and redistribute it
24
+ freely, subject to the following restrictions:
25
+
26
+ 1. The origin of this software must not be misrepresented; you must not
27
+ claim that you wrote the original software. If you use this software
28
+ in a product, an acknowledgment in the product documentation would be
29
+ appreciated but is not required.
30
+
31
+ 2. Altered source versions must be plainly marked as such, and must not be
32
+ misrepresented as being the original software.
33
+
34
+ 3. This notice may not be removed or altered from any source
35
+ distribution.
36
+ =end