Skip to content

Commit

Permalink
calculating the point coordinates
Browse files Browse the repository at this point in the history
  • Loading branch information
Zvyozdo4ka committed Sep 3, 2021
1 parent 9b69541 commit 6fea64f
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions face.html
Original file line number Diff line number Diff line change
Expand Up @@ -190,17 +190,7 @@
positions.needsUpdate = true;

console.log("{x:", intersection.point.x,", y:", intersection.point.y, ",z:", intersection.point.z, "}");
console.log("{x:", intersection.normal.x,", y:", intersection.normal.y, ", z:", intersection.normal.z, "}");
// if (intersection.normal.y>0)
// {
// console.log("y:", intersection.normal.y);
// console.log("y:", intersection.point.y);
// }
// if (intersection.point.y>0)
// {
// console.log("y:", intersection.point.y);
// console.log("y:", intersection.normal.y);
// }

intersection.intersects = true;

intersects.length = 0;
Expand Down

0 comments on commit 6fea64f

Please sign in to comment.