浏览代码

actually use buffer geometry.

Lucas Stadler 12 年之前
父节点
当前提交
8c8c29546d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      js/pixl/public/thrixl.html

+ 1 - 1
js/pixl/public/thrixl.html

@ -167,7 +167,7 @@
167 167
				var chunk = trixl.chunks[key];
168 168
				if (chunk.dirty) {
169 169
					group.remove(chunk.geometry);
170
					chunk.geometry = trixl.toGeometry(chunk);
170
					chunk.geometry = trixl.toBufferGeometry(chunk);
171 171
					chunk.dirty = false;
172 172
					group.add(chunk.geometry);
173 173
				}