@@ -5784,7 +5784,7 @@ THREE.Ray.prototype = {
5784
5784
this.direction.copy( v ).sub( this.origin ).normalize();
5785
5785
5786
5786
return this;
5787
-
5787
+
5788
5788
},
5789
5789
5790
5790
recast: function () {
@@ -5855,7 +5855,7 @@ THREE.Ray.prototype = {
5855
5855
5856
5856
return function ( v0, v1, optionalPointOnRay, optionalPointOnSegment ) {
5857
5857
5858
- // from http://www.geometrictools.com/LibMathematics/Distance/Wm5DistRay3Segment3.cpp
5858
+ // from http://www.geometrictools.com/GTEngine/Include/Mathematics/GteDistRaySegment.h
5859
5859
// It returns the min distance between the ray and the segment
5860
5860
// defined by v0 and v1
5861
5861
// It can also set two optional targets :
@@ -6176,7 +6176,7 @@ THREE.Ray.prototype = {
6176
6176
6177
6177
return function ( a, b, c, backfaceCulling, optionalTarget ) {
6178
6178
6179
- // from http://www.geometrictools.com/LibMathematics/Intersection/Wm5IntrRay3Triangle3.cpp
6179
+ // from http://www.geometrictools.com/GTEngine/Include/Mathematics/GteIntrRay3Triangle3.h
6180
6180
6181
6181
edge1.subVectors( b, a );
6182
6182
edge2.subVectors( c, a );
@@ -28670,7 +28670,7 @@ THREE.WebGLCapabilities = function ( gl, extensions, parameters ) {
28670
28670
28671
28671
this.getMaxPrecision = getMaxPrecision;
28672
28672
28673
- this.precision = parameters.precision !== undefined ? parameters.precision : 'highp',
28673
+ this.precision = parameters.precision !== undefined ? parameters.precision : 'highp';
28674
28674
this.logarithmicDepthBuffer = parameters.logarithmicDepthBuffer !== undefined ? parameters.logarithmicDepthBuffer : false;
28675
28675
28676
28676
this.maxTextures = gl.getParameter( gl.MAX_TEXTURE_IMAGE_UNITS );
0 commit comments