summaryrefslogtreecommitdiff
path: root/Runner/Mesh
diff options
context:
space:
mode:
Diffstat (limited to 'Runner/Mesh')
-rw-r--r--Runner/Mesh/Font.cpp0
-rw-r--r--Runner/Mesh/Font.h0
-rw-r--r--Runner/Mesh/FontManager.h0
-rw-r--r--Runner/Mesh/Glyph.h9
-rw-r--r--Runner/Mesh/Mesh.cpp4
-rw-r--r--Runner/Mesh/Mesh.h62
-rw-r--r--Runner/Mesh/MeshUtil.h6
-rw-r--r--Runner/Mesh/TextMesh.h11
8 files changed, 0 insertions, 92 deletions
diff --git a/Runner/Mesh/Font.cpp b/Runner/Mesh/Font.cpp
deleted file mode 100644
index e69de29..0000000
--- a/Runner/Mesh/Font.cpp
+++ /dev/null
diff --git a/Runner/Mesh/Font.h b/Runner/Mesh/Font.h
deleted file mode 100644
index e69de29..0000000
--- a/Runner/Mesh/Font.h
+++ /dev/null
diff --git a/Runner/Mesh/FontManager.h b/Runner/Mesh/FontManager.h
deleted file mode 100644
index e69de29..0000000
--- a/Runner/Mesh/FontManager.h
+++ /dev/null
diff --git a/Runner/Mesh/Glyph.h b/Runner/Mesh/Glyph.h
deleted file mode 100644
index 6020b45..0000000
--- a/Runner/Mesh/Glyph.h
+++ /dev/null
@@ -1,9 +0,0 @@
-#ifndef GLYPH_H
-#define GLYPH_H
-
-class Glyph
-{
-
-};
-
-#endif \ No newline at end of file
diff --git a/Runner/Mesh/Mesh.cpp b/Runner/Mesh/Mesh.cpp
deleted file mode 100644
index 95bd597..0000000
--- a/Runner/Mesh/Mesh.cpp
+++ /dev/null
@@ -1,4 +0,0 @@
-#include "Mesh.h"
-#include "MeshUtil.h"
-
-
diff --git a/Runner/Mesh/Mesh.h b/Runner/Mesh/Mesh.h
deleted file mode 100644
index 77c6577..0000000
--- a/Runner/Mesh/Mesh.h
+++ /dev/null
@@ -1,62 +0,0 @@
-#ifndef MESH_H
-#define MESH_H
-
-#include "../Graphics/VertexBuffer.h"
-#include "../Utilities/Type.h"
-
-// Ïà¶ÔVertexBuffer¸ü¼Óuplevel
-class Mesh
-{
-public:
-
- Mesh(bool readable = false);
- ~Mesh();
-
- void IsReadable();
-
- void SetVertices(float* data);
- void SetNormals(float* data);
- void SetTangents(float* data);
- void SetColors(float* data);
- void SetTexCoords(int channel, float* data);
-
- void SetTriangles(int* indices);
- void SetIndices(int* indices);
-
- void SetVertices(float* data, int start, int length);
- void SetNormals(float* data, int start, int length);
- void SetTangents(float* data, int start, int length);
- void SetColors(float* data, int start, int length);
- void SetTexCoords(int channel, float* data, int start, int length);
-
- void SetVertex(float x, float y, float z, int index);
- void SetNormal(float x, float y, float z, int index);
- void SetTangent(float x, float y, float z, int index);
- void SetColor(float r, float g, float b, float a, int index);
- void SetTexCoord(float u, float v, int index);
-
- void GetAABB(float bias = 0.f);
-
- inline bool HasVertexAttr(VertexAttrMask attr);
-
- void Draw();
-
- void CalculateNormal();
- void CalculateTangent();
-
-private:
-
- uint m_VertexAttrBits;
-
- bool m_IsReadable;
-
- VertexBuffer* m_VBO;
-
-};
-
-inline bool Mesh::HasVertexAttr(VertexAttrMask attr)
-{
- return m_VertexAttrBits & attr;
-}
-
-#endif \ No newline at end of file
diff --git a/Runner/Mesh/MeshUtil.h b/Runner/Mesh/MeshUtil.h
deleted file mode 100644
index 830ac70..0000000
--- a/Runner/Mesh/MeshUtil.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#ifndef MESH_UTIL_H
-#define MESH_UTIL_H
-
-
-
-#endif \ No newline at end of file
diff --git a/Runner/Mesh/TextMesh.h b/Runner/Mesh/TextMesh.h
deleted file mode 100644
index 1f27bbb..0000000
--- a/Runner/Mesh/TextMesh.h
+++ /dev/null
@@ -1,11 +0,0 @@
-#ifndef TEXT_MESH_H
-#define TEXT_MESH_H
-
-class TextMesh
-{
-public:
-
-
-};
-
-#endif \ No newline at end of file