提交 2af956b1 编写于 作者: A aardgoose

remove unused code

上级 cdd956ed
......@@ -58,7 +58,6 @@
var frame = new NodeFrame();
var teapot;
var controls;
var rtTexture, rtMaterial;
var meshes = [];
document.getElementById( "preload" ).addEventListener( 'click', function () {
......@@ -151,20 +150,6 @@
if ( mesh.material ) mesh.material.dispose();
if ( rtTexture ) {
rtTexture.dispose();
rtTexture = null;
}
if ( rtMaterial ) {
rtMaterial.dispose();
rtMaterial = null;
}
var mtl = new PhongNodeMaterial();
var time = new TimerNode();
......@@ -218,8 +203,6 @@
renderer.setSize( width, height );
if ( rtTexture ) rtTexture.setSize( width, height );
}
function animate() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册