Update: CC - Demo New - Entity Loaded (tuby5lj4di.js) 5 bytes modified
parent
3098a523b1
commit
299f539a2e
|
@ -62,7 +62,7 @@ GameLib.CustomCode.prototype.generateAttributeData = function(index, width, heig
|
||||||
for (x = 0; x < width; x++) {
|
for (x = 0; x < width; x++) {
|
||||||
for (y = 0; y < height; y++) {
|
for (y = 0; y < height; y++) {
|
||||||
z = heightData[(y * width) + x] * 10;
|
z = heightData[(y * width) + x] * 10;
|
||||||
scale = height * 0.19;
|
scale = z * 0.19;
|
||||||
offsets.push((x - 64) * 2, (64 - y) * 2, z);
|
offsets.push((x - 64) * 2, (64 - y) * 2, z);
|
||||||
orientations.push(0, 0, 0, 1);
|
orientations.push(0, 0, 0, 1);
|
||||||
scales.push(scale, scale, scale);
|
scales.push(scale, scale, scale);
|
||||||
|
|
Loading…
Reference in New Issue