提交 cc7a786c 编写于 作者: M Mr.doob

Raycaster: Move vertices variable to the right place.

上级 73915e8a
......@@ -95,8 +95,6 @@
}
var vertices = geometry.vertices;
if ( geometry instanceof THREE.BufferGeometry ) {
var material = object.material;
......@@ -230,6 +228,8 @@
var a, b, c, d;
var precision = raycaster.precision;
var vertices = geometry.vertices;
for ( var f = 0, fl = geometry.faces.length; f < fl; f ++ ) {
var face = geometry.faces[ f ];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册