You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
claudiu gombos edited this page Dec 12, 2015
·
1 revision
Hi,
Nice work!
For rebuild algorithm...
Can you please explain the logic behind?
For example hexMap(input prameter for rebuild), contains hexes, but the rendering is using the tg.hexes.
What is tgGroup, tgs and tg,hexes?
below is the code used in rebuild.
hexMap.tgGroup.tgs.forEach(function (tg) {
tg.hexes.forEach(function (hex) {
dp.hex = hex;
performTerrainGraphics(tg, dp);
});
});