SquaredMap: Fixed array allocation

audio-improve-offer
Harald Christian Joachim Wolff 2017-05-01 12:39:30 +02:00
parent 96a5578bf5
commit 6c988beaad
1 changed files with 1 additions and 11 deletions

View File

@ -91,7 +91,7 @@ namespace nhengine
vcenter,
hcenter;
Vector3[] vertexes = new Vector3[ 18 * width * height ];
Vector3[] vertexes = new Vector3[ 12 * width * height ];
Console.WriteLine("Creating geometry");
@ -149,17 +149,7 @@ namespace nhengine
);
}
}
/*
Console.WriteLine("Coloring...");
for (int n = 0; n < vertices.Length / 3;n++){
float _h = vertices[(3 * n) + 2] / 512.0f;
setColor(
n,
)
}
*/
this.model = new MapModel3D( vertexes );