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

Updated builds.

上级 082f5124
......@@ -7418,7 +7418,6 @@ THREE.EventDispatcher.prototype = {
constructor: THREE.Raycaster,
precision: 0.0001,
linePrecision: 1,
set: function ( origin, direction ) {
......@@ -15958,6 +15957,8 @@ THREE.PointCloud.prototype.raycast = ( function () {
var distance = raycaster.ray.origin.distanceTo( intersectPoint );
if ( distance < raycaster.near || distance > raycaster.far ) return;
intersects.push( {
distance: distance,
......@@ -16438,7 +16439,6 @@ THREE.Mesh.prototype.raycast = ( function () {
var attributes = geometry.attributes;
var a, b, c;
var precision = raycaster.precision;
if ( attributes.index !== undefined ) {
......@@ -16484,7 +16484,7 @@ THREE.Mesh.prototype.raycast = ( function () {
var distance = raycaster.ray.origin.distanceTo( intersectionPoint );
if ( distance < precision || distance < raycaster.near || distance > raycaster.far ) continue;
if ( distance < raycaster.near || distance > raycaster.far ) continue;
intersects.push( {
......@@ -16530,7 +16530,7 @@ THREE.Mesh.prototype.raycast = ( function () {
var distance = raycaster.ray.origin.distanceTo( intersectionPoint );
if ( distance < precision || distance < raycaster.near || distance > raycaster.far ) continue;
if ( distance < raycaster.near || distance > raycaster.far ) continue;
intersects.push( {
......@@ -16552,7 +16552,6 @@ THREE.Mesh.prototype.raycast = ( function () {
var objectMaterials = isFaceMaterial === true ? this.material.materials : null;
var a, b, c;
var precision = raycaster.precision;
var vertices = geometry.vertices;
......@@ -16625,7 +16624,7 @@ THREE.Mesh.prototype.raycast = ( function () {
var distance = raycaster.ray.origin.distanceTo( intersectionPoint );
if ( distance < precision || distance < raycaster.near || distance > raycaster.far ) continue;
if ( distance < raycaster.near || distance > raycaster.far ) continue;
intersects.push( {
......@@ -19390,7 +19389,7 @@ THREE.WebGLRenderer = function ( parameters ) {
this.setPixelRatio = function ( value ) {
pixelRatio = value;
if ( value !== undefined ) pixelRatio = value;
};
......
因为 它太大了无法显示 source diff 。你可以改为 查看blob
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册