9 Debug.Log(
"Creating the EdgeGrid: " + Time.realtimeSinceStartup.ToString());
13 for(
int i=0; i<x; i++) {
14 for (
int j=0; j<y; j++) {
15 for (
int k=0; k<z; k++) {
21 Debug.Log(
"EdgeGrid created: " + Time.realtimeSinceStartup.ToString());
43 public int AddVertex(
int x,
int y,
int z,
int t,
int index) {
44 if(_grid[x,y,z].GetEdge(t) == -1)
EdgeGrid(int x, int y, int z)
void SetEdge(int index, int vertexIndex)
int AddVertex(int x, int y, int z, int t, int index)
Adds the index of the vertex to the edge grid.