struct S3DVertex\r
{\r
//! default constructor\r
- S3DVertex() {}\r
+ S3DVertex() : Color(0xffffffff) {}\r
\r
//! constructor\r
S3DVertex(f32 x, f32 y, f32 z, f32 nx, f32 ny, f32 nz, SColor c, f32 tu, f32 tv)\r
: S3DVertex(pos, normal, color, tcoords), TCoords2(tcoords) {}\r
\r
//! constructor from S3DVertex\r
- S3DVertex2TCoords(S3DVertex& o) : S3DVertex(o) {}\r
+ S3DVertex2TCoords(const S3DVertex& o) : S3DVertex(o) {}\r
\r
//! Second set of texture coordinates\r
core::vector2d<f32> TCoords2;\r
const core::vector3df& binormal=core::vector3df())\r
: S3DVertex(pos, normal, c, tcoords), Tangent(tangent), Binormal(binormal) { }\r
\r
+ //! constructor from S3DVertex\r
+ S3DVertexTangents(const S3DVertex& o) : S3DVertex(o) {}\r
+\r
//! Tangent vector along the x-axis of the texture\r
core::vector3df Tangent;\r
\r