diff --git a/src/Primitives/Plane.cpp b/src/Primitives/Plane.cpp index f12f6fa8a..04903b226 100644 --- a/src/Primitives/Plane.cpp +++ b/src/Primitives/Plane.cpp @@ -24,6 +24,11 @@ Plane::Plane(): MeshData(Mesh::Primitive::TriangleStrip, nullptr, {new vector{ + {0.0f, 0.0f, 1.0f}, + {0.0f, 0.0f, 1.0f}, + {0.0f, 0.0f, 1.0f}, + {0.0f, 0.0f, 1.0f} +}}, {}) {} }} diff --git a/src/Primitives/Plane.h b/src/Primitives/Plane.h index 7ad887ca9..d21eee942 100644 --- a/src/Primitives/Plane.h +++ b/src/Primitives/Plane.h @@ -26,7 +26,7 @@ namespace Magnum { namespace Primitives { /** @brief %Plane primitive -2x2 plane orthogonal to Z axis. +2x2 plane with normals in positive Z direction. */ class Plane: public Trade::MeshData { public: