Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
fixed the bug
  • Loading branch information
Zvyozdo4ka authored Oct 22, 2021
1 parent c5f5f6a commit 355570d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion task13create supplement line.html
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,6 @@

if ( ( moved === false) || controls.mouseButtons) {
object_exist = true;
line_supplement.visible = true;
checkIntersection( event.clientX, event.clientY) ;

if ( intersection.intersects ) {
Expand Down Expand Up @@ -314,6 +313,7 @@

//////
if (points_line[0]) {
line_supplement.visible = true;
console.log("geometry_supplement", geometry_supplement);
let positions = line_supplement.geometry.attributes.position;
positions.setXYZ(0, points_line[0].x, points_line[0].y, points_line[0].z);
Expand Down

0 comments on commit 355570d

Please sign in to comment.