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