Skip to content

Commit

Permalink
Remove stats FPS counter - use browser built-in FPS meter instead
Browse files Browse the repository at this point in the history
  • Loading branch information
deathcap committed Mar 28, 2015
1 parent 7db79ad commit e9b8f6b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 155 deletions.
10 changes: 0 additions & 10 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
var voxel = require('voxel')
var ray = require('voxel-raycast')
var control = require('voxel-controls')
var Stats = require('./lib/stats')
var Detector = require('./lib/detector')
var inherits = require('inherits')
var path = require('path')
Expand Down Expand Up @@ -501,15 +500,6 @@ Game.prototype.collideTerrain = function(other, bbox, vec, resting) {
})
}

// # Three.js specific methods

Game.prototype.addStats = function() {
stats = new Stats()
stats.domElement.style.position = 'absolute'
stats.domElement.style.bottom = '0px'
document.body.appendChild( stats.domElement )
}

// # Chunk related methods

Game.prototype.configureChunkLoading = function(opts) {
Expand Down
145 changes: 0 additions & 145 deletions lib/stats.js

This file was deleted.

0 comments on commit e9b8f6b

Please sign in to comment.