addLineGeometry method
dynamic
addLineGeometry(
- dynamic vertices,
- dynamic uvs
Implementation
addLineGeometry(vertices, uvs) {
this.object!.geometry["type"] = 'Line';
var vLen = this.vertices.length;
var uvLen = this.uvs.length;
for (var vi = 0, l = vertices.length; vi < l; vi++) {
this.addVertexLine(this.parseVertexIndex(vertices[vi], vLen));
}
for (var uvi = 0, l = uvs.length; uvi < l; uvi++) {
this.addUVLine(this.parseUVIndex(uvs[uvi], uvLen));
}
}