- Added info panel on video demo.

This commit is contained in:
Mr.doob
2010-06-11 03:37:55 +01:00
parent deb5d3ecc3
commit a1eee92ef8
+8
View File
@@ -54,6 +54,14 @@
container = document.createElement('div');
document.body.appendChild(container);
var info = document.createElement('div');
info.style.position = 'absolute';
info.style.top = '10px';
info.style.width = '100%';
info.style.textAlign = 'center';
info.innerHTML = '<a href="http://github.com/mrdoob/three.js" target="_blank">three.js</a> - video demo. playing <a href="http://durian.blender.org/" target="_blank">sintel</a> trailer';
container.appendChild(info);
camera = new THREE.Camera(0, 0, 500);
camera.focus = 300;