public ComplexCube() { ConvertGeometry(GeometryBuilder.Cube()); originalGeo = MatrixD.OfArray(GeometryBuilder.Cube()); vertecies = new PointMatrix(originalGeo.ToArray()); geometry = vertecies.ToColumnWiseArray(); colors = new double[geometry.Length]; for (int i = 0; i < colors.Length; i += 3) { colors[i] = 1; colors[i + 1] = 0; colors[i + 2] = 1; } }