|
@@ -169,8 +169,7 @@ THREE.Mesh.prototype.raycast = ( function () {
|
|
|
|
|
|
distance: distance,
|
|
|
point: intersectionPoint,
|
|
|
- indices: [ a, b, c ],
|
|
|
- face: null,
|
|
|
+ face: new THREE.Face3( a, b, c, THREE.Triangle.normal( vA, vB, vC ) ),
|
|
|
faceIndex: null,
|
|
|
object: this
|
|
|
|
|
@@ -229,8 +228,7 @@ THREE.Mesh.prototype.raycast = ( function () {
|
|
|
|
|
|
distance: distance,
|
|
|
point: intersectionPoint,
|
|
|
- indices: [ a, b, c ],
|
|
|
- face: null,
|
|
|
+ face: new THREE.Face3( a, b, c, THREE.Triangle.normal( vA, vB, vC ) ),
|
|
|
faceIndex: null,
|
|
|
object: this
|
|
|
|