D3DLVERTEX Constructors

The D3D_OVERLOADS constructors for the D3DLVERTEX structure offer a convenient way for C++ programmers to create lit vertices.

_D3DLVERTEX() { }

_D3DLVERTEX(const D3DVECTOR& v,

D3DCOLOR _color, D3DCOLOR _specular,

float _tu, float _tv)

{ x = v.x; y = v.y; z = v.z; dwReserved = 0;

color = _color; specular = _specular;

tu = _tu; tv = _tv;

}