3d-interface/server/geo/ConfigGenerators/ConfigGenerator.js

34 lines
736 B
JavaScript
Raw Permalink Normal View History

2016-01-04 17:54:14 +01:00
/**
* Creates an empty config generator (generating always empty configs)
* @constructor
* @param streamer {geo.MeshStreamer} the parent mesh streamer
*/
geo.ConfigGenerator = function(streamer) {
this.streamer = streamer;
this.beginning = true;
};
/**
* Generates an empty configuration
* @return {Object[]} an empty array
*/
geo.ConfigGenerator.prototype.generateMainConfig = function() {
process.stderr.write('Warning : empty config generator used\n');
return [];
};
/**
* Generates an empty configuration
* @return {Object[]} an empty array
*/
geo.ConfigGenerator.prototype.generateFillingConfig = function() {
process.stderr.write('Warning : empty config generator used\n');
return [];
};