add comment as a reminder of possible future work to clear 'faked' links earlier - if possible

This commit is contained in:
Jon Atkins 2013-09-14 08:29:16 +01:00
parent 68cf5d0aa4
commit 79cd0132e7

View File

@ -70,6 +70,12 @@ window.Render.prototype.clearEntitiesOutsideBounds = function(bounds) {
console.log('Render: deleted '+pcount+' portals, '+lcount+' links, '+fcount+' fields by bounds check'); console.log('Render: deleted '+pcount+' portals, '+lcount+' links, '+fcount+' fields by bounds check');
} }
// TODO? as well as clearing portals by level, and clearing entities outside the bounds...
// can we clear unneeded 'fake' links after zooming out? based on the portals no longer being available to construct
// the data? (not *required* - as they'll be removed in the endRenderPass code - but clearing things earlier rather than
// later is preferred, if possible)
// process deleted entity list and entity data // process deleted entity list and entity data
window.Render.prototype.processTileData = function(tiledata) { window.Render.prototype.processTileData = function(tiledata) {
this.processDeletedGameEntityGuids(tiledata.deletedGameEntityGuids||[]); this.processDeletedGameEntityGuids(tiledata.deletedGameEntityGuids||[]);