summaryrefslogtreecommitdiff
path: root/scene/resources/mesh.h
diff options
context:
space:
mode:
authorBastiaanOlij <mux213@gmail.com>2017-05-06 10:17:21 +1000
committerBastiaanOlij <mux213@gmail.com>2017-06-16 21:40:23 +1000
commit94836131388f575f79a5f0b077227f3a7a53af40 (patch)
treea6c88ed94f4928f10db8da7f9bdfce6854e15b05 /scene/resources/mesh.h
parent80929d36bedebb3ed2d68185fd099253307b30aa (diff)
Godot 3.0 primitives as resources for use with MeshInstance
Adds the following resources: - CapsuleMesh: a capsule object - CubeMesh: a cube that can be subdivided - CylinderMesh: a cylinder - PlaneMesh: a horizontal plane that can be subdivided - PrismMesh: a prism shape - SphereMesh: a sphere - QuadMesh: reintroduction of the original quadmesh Removes the old Quad and TestCube nodes
Diffstat (limited to 'scene/resources/mesh.h')
-rw-r--r--scene/resources/mesh.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/scene/resources/mesh.h b/scene/resources/mesh.h
index 0e2a6a5fe0..37fddf3aa6 100644
--- a/scene/resources/mesh.h
+++ b/scene/resources/mesh.h
@@ -214,23 +214,6 @@ public:
~ArrayMesh();
};
-#if 0
-class QuadMesh : public Mesh {
-
- GDCLASS(QuadMesh, Mesh)
-
-protected:
- virtual bool _is_generated() const { return true; }
- static void _bind_methods();
-
-public:
- void set_material(const Ref<Material> &p_material);
- Ref<Material> get_material() const;
- QuadMesh();
-};
-
-#endif
-
VARIANT_ENUM_CAST(Mesh::ArrayType);
VARIANT_ENUM_CAST(Mesh::PrimitiveType);
VARIANT_ENUM_CAST(Mesh::BlendShapeMode);