mirror of
https://github.com/wahyd4/three.js.git
synced 2026-08-26 13:26:13 +10:00
- Added info panel on video demo.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user