// Token: 0x06001C89 RID: 7305 RVA: 0x000851AC File Offset: 0x000833AC
        private int GetVertexIndex(WireMeshBuilder.LineVertex vertex)
        {
            int num;

            if (!this.uniqueVertexToIndex.TryGetValue(vertex, out num))
            {
                int num2 = this.uniqueVertexCount;
                this.uniqueVertexCount = num2 + 1;
                num = num2;
                this.positions.Add(vertex.position);
                this.colors.Add(vertex.color);
                this.uniqueVertexToIndex.Add(vertex, num);
            }
            return(num);
        }
        // Token: 0x06001C8A RID: 7306 RVA: 0x0008520C File Offset: 0x0008340C
        public void AddLine(Vector3 p1, Color c1, Vector3 p2, Color c2)
        {
            WireMeshBuilder.LineVertex vertex = new WireMeshBuilder.LineVertex
            {
                position = p1,
                color    = c1
            };
            WireMeshBuilder.LineVertex vertex2 = new WireMeshBuilder.LineVertex
            {
                position = p2,
                color    = c2
            };
            int vertexIndex  = this.GetVertexIndex(vertex);
            int vertexIndex2 = this.GetVertexIndex(vertex2);

            this.indices.Add(vertexIndex);
            this.indices.Add(vertexIndex2);
        }