blackHolesBuf = []; BlackHole = function(center, size) { this.rs = 2/3 * size; blackHolesBuf.push([center[0], center[1], center[2], this.rs]); } BlackHole.prototype.draw = function() { // Black holes are not "drawn" }