]> git.localhorst.tv Git - blank.git/blobdiff - src/shape.cpp
use player-relative coordinates for rendering
[blank.git] / src / shape.cpp
index 3df425785d5eb922948cdccd31b80ad638db6d23..e8bd2e6f42a01bb8f8c728614bbd0fa7d5e59e35 100644 (file)
@@ -3,6 +3,31 @@
 
 namespace blank {
 
+size_t NullShape::VertexCount() const {
+       return 0;
+}
+
+void NullShape::Vertices(std::vector<glm::vec3> &out, const glm::vec3 &pos) const {
+
+}
+
+void NullShape::Normals(std::vector<glm::vec3> &out) const {
+
+}
+
+size_t NullShape::OutlineCount() const {
+       return 0;
+}
+
+void NullShape::Outline(std::vector<glm::vec3> &out, const glm::vec3 &pos) const {
+
+}
+
+bool NullShape::Intersects(const Ray &, const glm::mat4 &, float &, glm::vec3 &) const {
+       return false;
+}
+
+
 CuboidShape::CuboidShape(const AABB &b)
 : Shape()
 , bb(b) {