]> git.jsancho.org Git - c-irrlicht.git/blobdiff - include/S3DVertex.h
Vertices, boxes, matrices, transformations and more
[c-irrlicht.git] / include / S3DVertex.h
diff --git a/include/S3DVertex.h b/include/S3DVertex.h
new file mode 100644 (file)
index 0000000..7d28d83
--- /dev/null
@@ -0,0 +1,37 @@
+/* c-irrlicht --- C bindings for Irrlicht Engine
+
+   Copyright (C) 2019 Javier Sancho <jsf@jsancho.org>
+
+   This file is part of c-irrlicht.
+
+   c-irrlicht is free software; you can redistribute it and/or modify
+   it under the terms of the GNU Lesser General Public License as
+   published by the Free Software Foundation; either version 3 of the
+   License, or (at your option) any later version.
+
+   c-irrlicht is distributed in the hope that it will be useful, but
+   WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with guile-irrlicht.  If not, see
+   <http://www.gnu.org/licenses/>.
+*/
+
+#ifndef __C_IRR_S_3D_VERTEX_H_INCLUDED__
+#define __C_IRR_S_3D_VERTEX_H_INCLUDED__
+
+#include "SColor.h"
+#include "vector2d.h"
+#include "vector3d.h"
+
+typedef struct
+{
+  irr_core_vector3df pos;
+  irr_core_vector3df normal;
+  irr_video_SColor color;
+  irr_core_vector2df tCoords;
+} irr_video_S3DVertex;
+
+#endif