aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/OpenGL/QuadVAO.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-02-19 11:06:44 +0100
committerjpbruyere <jp.bruyere@hotmail.com>2016-03-01 05:06:16 +0100
commit328c6d4eab1127cd9799540f253deda66060b68a (patch)
treeeeb1c888ed94c444d673f9f827b4df447e249ea4 /src/OpenGL/QuadVAO.cs
parent2cb0e7507022aa0449c1af264230784039b24e15 (diff)
free Crow base from OpenTK
Diffstat (limited to 'src/OpenGL/QuadVAO.cs')
-rw-r--r--src/OpenGL/QuadVAO.cs45
1 files changed, 0 insertions, 45 deletions
diff --git a/src/OpenGL/QuadVAO.cs b/src/OpenGL/QuadVAO.cs
deleted file mode 100644
index 08ef680e..00000000
--- a/src/OpenGL/QuadVAO.cs
+++ /dev/null
@@ -1,45 +0,0 @@
-using System;
-using OpenTK;
-
-namespace Crow
-{
- public class QuadVAO : VertexArrayObject
- {
- public QuadVAO (float x, float y, float width, float height):base(
- new Vector2[] {
- new Vector2 (x, y),
- new Vector2 (x, y + height),
- new Vector2 (x + width, y),
- new Vector2 (x + width, y + height)
- },
- new Vector2[] {
- new Vector2 (0, 1),
- new Vector2 (0, 0),
- new Vector2 (1, 1),
- new Vector2 (1, 0)
- },
- new int[] { 0, 1, 2, 3 })
- {
-
- }
- public QuadVAO (float x, float y, float width, float height,
- float texX, float texY, float texW, float texH):base(
- new Vector2[] {
- new Vector2 (x, y),
- new Vector2 (x, y + height),
- new Vector2 (x + width, y),
- new Vector2 (x + width, y + height)
- },
- new Vector2[] {
- new Vector2 (texX, texY+texH),
- new Vector2 (texX, texY),
- new Vector2 (texX+texW, texY+texH),
- new Vector2 (texX+texW, texY)
- },
- new int[] { 0, 1, 2, 3 })
- {
-
- }
- }
-}
-