diff -Nauwr Irrlicht/include/S3DVertex.h Irrlicht/include/S3DVertex.h --- Irrlicht/include/S3DVertex.h 2005-08-20 22:17:44.000000000 +0200 +++ Irrlicht/include/S3DVertex.h 2005-08-29 09:43:04.000000000 +0200 @@ -126,9 +126,19 @@ : Pos(x,y,z) { } //! constructor - S3DVertexTangents(const core::vector3df& pos, - const core::vector2df& tcoords, video::SColor c) - : Pos(pos), TCoords(tcoords), Color(c) { } + S3DVertexTangents(f32 x, f32 y, f32 z, f32 nx, f32 ny, f32 nz, video::SColor c, f32 tx, f32 ty, + f32 tanx, f32 tany, f32 tanz, f32 bx, f32 by, f32 bz ) + : Pos(x,y,z), Normal(nx,ny,nz), TCoords(tx,ty), Color(c), Tangent(tanx,tany,tanz), Binormal(bx,by,bz) { } + + //! constructor + S3DVertexTangents(const core::vector3df& pos, const core::vector3df& normal, + video::SColor c, const core::vector2df& tcoords ) + : Pos(pos), Normal(normal), Color(c), TCoords(tcoords) {} + + //! constructor + S3DVertexTangents(const core::vector3df& pos, const core::vector2df& tcoords, + video::SColor c, const core::vector3df& tangent = core::vector3df(), const core::vector3df& binormal = core::vector3df() ) + : Pos(pos), TCoords(tcoords), Color(c), Tangent(tangent), Binormal(binormal) { } //! Position core::vector3df Pos;