Skip to content

Commit

Permalink
Merge pull request #1790 from paireks/develop/ExamplesCommentsFixes
Browse files Browse the repository at this point in the history
[EXAMPLES] Comments clean-up
  • Loading branch information
xeolabs authored Jan 23, 2025
2 parents ac1d51b + cda961f commit f6fadf3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/annotations/annotations_createWithTouch.html
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ <h3>Resources</h3>
// This is useful when the Annotation is occludable, which is when it is hidden when occluded
// by other objects. When occludable, there is potential for the Annotation#worldPos to become
// visually embedded within the surface of its Entity when viewed from a distance. This happens
// as a result of limited GPU accuracy GPU accuracy, especially when the near and far view-space clipping planes,
// as a result of limited GPU accuracy, especially when the near and far view-space clipping planes,
// specified by Perspective#near and Perspective#far, or Ortho#near and Perspective#far, are far away from each other.
//
// Offsetting the Annotation may ensure that it does become visually embedded within its Entity. We may also
Expand Down Expand Up @@ -222,7 +222,7 @@ <h3>Resources</h3>
annotation.setLabelShown(!! worldPos);
};

setAnnotationPos(null); // initialy hide the annotation until the first user interaction
setAnnotationPos(null); // initially hide the annotation until the first user interaction

// ... and touch events are handled through setupTouchSelector callbacks
setupTouchSelector(
Expand Down
2 changes: 1 addition & 1 deletion examples/slicing/SectionPlanesPlugin_createWithMouse.html
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ <h3>Resources</h3>


//------------------------------------------------------------------------------------------------------------------
// Use the AnnotationsPlugin to create an annotation wherever we click on an object
// Use the SectionPlanesPlugin to create a section plane wherever we click on an object
//------------------------------------------------------------------------------------------------------------------

var i = 1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ <h3>Resources</h3>


//------------------------------------------------------------------------------------------------------------------
// Use the AnnotationsPlugin to create an annotation wherever we click on an object
// Use the SectionPlanesPlugin to create a section plane wherever we click on an object
//------------------------------------------------------------------------------------------------------------------

var i = 1;
Expand Down

0 comments on commit f6fadf3

Please sign in to comment.