Ejemplo n.º 1
0
            unsafe public static void BuildMeshFromNodeHandleForColoredCubesVolume(Mesh mesh, uint nodeHandle, bool onlyPositions)
            {
                // Get the data from Cubiquity.
                ushort noOfVertices; ColoredCubesVertex *vertices; uint noOfIndices; ushort *indices;

                CubiquityDLL.GetColoredCubesMesh(nodeHandle, &noOfVertices, &vertices, &noOfIndices, &indices);