From 8d7a6078c33c7de5ccf8cbf299606fdb2ef10a93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 26 Feb 2012 15:18:37 +0100 Subject: [PATCH] Doc++ --- src/Trade/MeshData.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Trade/MeshData.h b/src/Trade/MeshData.h index e2087e3b3..e7af37219 100644 --- a/src/Trade/MeshData.h +++ b/src/Trade/MeshData.h @@ -41,10 +41,11 @@ class MAGNUM_EXPORT MeshData { * @param primitive Primitive * @param indices Array with indices or 0, if this is not * indexed mesh - * @param vertices Array with vertex arrays - * @param normals Array with normal arrays + * @param vertices Array with vertex arrays. At least one + * vertex array should be present. + * @param normals Array with normal arrays or empty array * @param textureCoords2D Array with two-dimensional texture - * coordinate arrays + * coordinate arrays or empty array */ inline MeshData(Mesh::Primitive primitive, std::vector* indices, std::vector*> vertices, std::vector*> normals, std::vector*> textureCoords2D): _primitive(primitive), _indices(indices), _vertices(vertices), _normals(normals), _textureCoords2D(textureCoords2D) {}