Parcourir la source

apply rename to project

Zoadian il y a 12 ans
Parent
commit
04a532e0d3

+ 0 - 17
source/aurora/gl/package.d

@@ -1,17 +0,0 @@
-// Written in the D programming language.
-/**						   
-Copyright: Copyright Felix 'Zoadian' Hufnagel 2014-.
-
-License:   $(WEB http://www.gnu.org/licenses/lgpl.html, LGPLv3).
-
-Authors:   $(WEB zoadian.de, Felix 'Zoadian' Hufnagel)
-*/
-module aurora.gl;
-				   
-public import aurora.gl.framebuffer;
-public import aurora.gl.renderbuffer;
-public import aurora.gl.shader;
-public import aurora.gl.texture;
-public import aurora.gl.util;
-public import aurora.gl.vao;	  
-public import aurora.gl.vbo;

+ 2 - 2
source/aurora/gl/framebuffer.d → source/three/gl/framebuffer.d

@@ -6,10 +6,10 @@ License:   $(WEB http://www.gnu.org/licenses/lgpl.html, LGPLv3).
 
 Authors:   $(WEB zoadian.de, Felix 'Zoadian' Hufnagel)
 */
-module aurora.gl.framebuffer;
+module three.gl.framebuffer;
 
 import derelict.opengl3.gl3;
-import aurora.gl.util;
+import three.gl.util;
 
 
 //==============================================================================

+ 17 - 0
source/three/gl/package.d

@@ -0,0 +1,17 @@
+// Written in the D programming language.
+/**						   
+Copyright: Copyright Felix 'Zoadian' Hufnagel 2014-.
+
+License:   $(WEB http://www.gnu.org/licenses/lgpl.html, LGPLv3).
+
+Authors:   $(WEB zoadian.de, Felix 'Zoadian' Hufnagel)
+*/
+module three.gl;
+				   
+public import three.gl.framebuffer;
+public import three.gl.renderbuffer;
+public import three.gl.shader;
+public import three.gl.texture;
+public import three.gl.util;
+public import three.gl.vao;	  
+public import three.gl.vbo;

+ 2 - 2
source/aurora/gl/renderbuffer.d → source/three/gl/renderbuffer.d

@@ -6,10 +6,10 @@ License:   $(WEB http://www.gnu.org/licenses/lgpl.html, LGPLv3).
 
 Authors:   $(WEB zoadian.de, Felix 'Zoadian' Hufnagel)
 */
-module aurora.gl.renderbuffer;
+module three.gl.renderbuffer;
 
 import derelict.opengl3.gl3;
-import aurora.gl.util;
+import three.gl.util;
 
 
 //==============================================================================

+ 2 - 2
source/aurora/gl/shader.d → source/three/gl/shader.d

@@ -6,10 +6,10 @@ License:   $(WEB http://www.gnu.org/licenses/lgpl.html, LGPLv3).
 
 Authors:   $(WEB zoadian.de, Felix 'Zoadian' Hufnagel)
 */
-module aurora.gl.shader;
+module three.gl.shader;
 
 import derelict.opengl3.gl3;
-import aurora.gl.util;
+import three.gl.util;
 
 
 //==============================================================================

+ 2 - 2
source/aurora/gl/texture.d → source/three/gl/texture.d

@@ -6,10 +6,10 @@ License:   $(WEB http://www.gnu.org/licenses/lgpl.html, LGPLv3).
 
 Authors:   $(WEB zoadian.de, Felix 'Zoadian' Hufnagel)
 */
-module aurora.gl.texture;
+module three.gl.texture;
 
 import derelict.opengl3.gl3;
-import aurora.gl.util;
+import three.gl.util;
 
 
 //==============================================================================

+ 1 - 1
source/aurora/gl/util.d → source/three/gl/util.d

@@ -6,7 +6,7 @@ License:   $(WEB http://www.gnu.org/licenses/lgpl.html, LGPLv3).
 
 Authors:   $(WEB zoadian.de, Felix 'Zoadian' Hufnagel)
 */
-module aurora.gl.util;
+module three.gl.util;
 
 import std.algorithm;
 import std.stdio;

+ 2 - 2
source/aurora/gl/vao.d → source/three/gl/vao.d

@@ -6,10 +6,10 @@ License:   $(WEB http://www.gnu.org/licenses/lgpl.html, LGPLv3).
 
 Authors:   $(WEB zoadian.de, Felix 'Zoadian' Hufnagel)
 */
-module aurora.gl.vao;
+module three.gl.vao;
 
 import derelict.opengl3.gl3;
-import aurora.gl.util;
+import three.gl.util;
 
 
 //==============================================================================

+ 17 - 2
source/aurora/gl/vbo.d → source/three/gl/vbo.d

@@ -6,10 +6,10 @@ License:   $(WEB http://www.gnu.org/licenses/lgpl.html, LGPLv3).
 
 Authors:   $(WEB zoadian.de, Felix 'Zoadian' Hufnagel)
 */
-module aurora.gl.vbo;
+module three.gl.vbo;
 
 import derelict.opengl3.gl3;
-import aurora.gl.util;
+import three.gl.util;
 
 
 //==============================================================================
@@ -31,6 +31,21 @@ enum VertexBufferObjectTarget {
 }
 
 
+//==============================================================================
+///
+enum BufferUsageHint {
+	StreamDraw = GL_STREAM_DRAW, 
+	StreamRead = GL_STREAM_READ, 
+	StreamCopy = GL_STREAM_COPY, 
+	StaticDraw = GL_STATIC_DRAW, 
+	StaticRead = GL_STATIC_READ, 
+	StaticCopy = GL_STATIC_COPY, 
+	DynamicDraw = GL_DYNAMIC_DRAW, 
+	DynamicRead = GL_DYNAMIC_READ, 
+	DynamicCopy = GL_DYNAMIC_COPY
+}
+
+
 //==============================================================================
 ///
 final class VertexBufferObject {

+ 2 - 2
source/aurora/glfw/package.d → source/three/glfw/package.d

@@ -6,6 +6,6 @@ License:   $(WEB http://www.gnu.org/licenses/lgpl.html, LGPLv3).
 
 Authors:   $(WEB zoadian.de, Felix 'Zoadian' Hufnagel)
 */
-module aurora.glfw;
+module three.glfw;
 
-public import aurora.glfw.window;
+public import three.glfw.window;

+ 1 - 1
source/aurora/glfw/window.d → source/three/glfw/window.d

@@ -6,7 +6,7 @@ License:   $(WEB http://www.gnu.org/licenses/lgpl.html, LGPLv3).
 
 Authors:   $(WEB zoadian.de, Felix 'Zoadian' Hufnagel)
 */
-module aurora.glfw.window;
+module three.glfw.window;
 
 import derelict.opengl3.gl3;
 import derelict.glfw3.glfw3;

+ 3 - 3
source/aurora/primitives/package.d → source/three/primitives/package.d

@@ -6,7 +6,7 @@ License:   $(WEB http://www.gnu.org/licenses/lgpl.html, LGPLv3).
 
 Authors:   $(WEB zoadian.de, Felix 'Zoadian' Hufnagel)
 */
-module aurora.primitives;
+module three.primitives;
 
-public import aurora.primitives.point;
-public import aurora.primitives.rect;
+public import three.primitives.point;
+public import three.primitives.rect;

+ 1 - 1
source/aurora/primitives/point.d → source/three/primitives/point.d

@@ -6,7 +6,7 @@ License:   $(WEB http://www.gnu.org/licenses/lgpl.html, LGPLv3).
 
 Authors:   $(WEB zoadian.de, Felix 'Zoadian' Hufnagel)
 */
-module aurora.primitives.point;
+module three.primitives.point;
 
 import std.traits;
 

+ 2 - 2
source/aurora/primitives/rect.d → source/three/primitives/rect.d

@@ -6,9 +6,9 @@ License:   $(WEB http://www.gnu.org/licenses/lgpl.html, LGPLv3).
 
 Authors:   $(WEB zoadian.de, Felix 'Zoadian' Hufnagel)
 */
-module aurora.primitives.rect;
+module three.primitives.rect;
 
-import aurora.primitives.point;
+import three.primitives.point;
 
 import std.traits;