mirror of
https://github.com/wahyd4/three.js.git
synced 2026-08-13 23:16:07 +10:00
And again...
This commit is contained in:
@@ -71,7 +71,9 @@
|
||||
container.appendChild(renderer.viewport);
|
||||
|
||||
stats = new Stats();
|
||||
container.appendChild( stats.getDisplayElement() );
|
||||
stats.domElement.style.position = 'absolute';
|
||||
stats.domElement.style.top = '0px';
|
||||
container.appendChild(stats.domElement);
|
||||
|
||||
document.addEventListener('mousemove', onDocumentMouseMove, false);
|
||||
document.addEventListener('touchstart', onDocumentTouchStart, false);
|
||||
|
||||
Reference in New Issue
Block a user