X-Git-Url: https://git.jsancho.org/?p=c-irrlicht.git;a=blobdiff_plain;f=include%2FS3DVertex.h;fp=include%2FS3DVertex.h;h=7d28d833940a0a4d271e26d60a91000b71345b63;hp=0000000000000000000000000000000000000000;hb=8d84fb35562071d38c50f6d78880aa3cb626c0fc;hpb=0f5922af37242ffe33f1b83f5bdfff79639b5d5a diff --git a/include/S3DVertex.h b/include/S3DVertex.h new file mode 100644 index 0000000..7d28d83 --- /dev/null +++ b/include/S3DVertex.h @@ -0,0 +1,37 @@ +/* c-irrlicht --- C bindings for Irrlicht Engine + + Copyright (C) 2019 Javier Sancho + + 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 + . +*/ + +#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