/** * Contains a Poly vertex data structure * @param localIndex * @param mvertIndex * @param uv R3.API.Vector2 * @param materialIndex * @param edgeIndex * @constructor */ R3.D3.PolyVertex = function( localIndex, mvertIndex, uv, materialIndex, edgeIndex ) { this.localIndex = localIndex; this.mvertIndex = mvertIndex; this.uv = uv; this.materialIndex = materialIndex; this.edgeIndex = edgeIndex; }; /** * Clone a PolyVertex * @returns {R3.D3.PolyVertex} */ R3.D3.PolyVertex.prototype.clone = function() { return new R3.D3.PolyVertex( this.localIndex, this.mvertIndex, this.uv.copy(), this.materialIndex, this.edgeIndex ) };