Skip to content

Commit e9b8f6b

Browse files
committed
Remove stats FPS counter - use browser built-in FPS meter instead
For Chrome, see http://stackoverflow.com/questions/22038065/show-fps-meter-chrome-33
1 parent 7db79ad commit e9b8f6b

File tree

2 files changed

+0
-155
lines changed

2 files changed

+0
-155
lines changed

index.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
var voxel = require('voxel')
33
var ray = require('voxel-raycast')
44
var control = require('voxel-controls')
5-
var Stats = require('./lib/stats')
65
var Detector = require('./lib/detector')
76
var inherits = require('inherits')
87
var path = require('path')
@@ -501,15 +500,6 @@ Game.prototype.collideTerrain = function(other, bbox, vec, resting) {
501500
})
502501
}
503502

504-
// # Three.js specific methods
505-
506-
Game.prototype.addStats = function() {
507-
stats = new Stats()
508-
stats.domElement.style.position = 'absolute'
509-
stats.domElement.style.bottom = '0px'
510-
document.body.appendChild( stats.domElement )
511-
}
512-
513503
// # Chunk related methods
514504

515505
Game.prototype.configureChunkLoading = function(opts) {

lib/stats.js

Lines changed: 0 additions & 145 deletions
This file was deleted.

0 commit comments

Comments
 (0)