Skip to content

Commit

Permalink
Remove unused assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
discordier committed May 14, 2021
1 parent d8978a7 commit f2788b7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion examples/playground/hideAndSeek/src/World.js
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,6 @@ class World {
if ( obstalce.geometry.intersectRay( ray, obstalce.worldMatrix, false, intersection.point, intersection.normal ) !== null ) {

const squaredDistance = intersection.point.squaredDistanceTo( ray.origin );
obstalce.squaredDistance = squaredDistance;

if ( squaredDistance < minDistance ) {

Expand Down

0 comments on commit f2788b7

Please sign in to comment.