From 845d46ffcfe261bcd63aa635dff9b4140ace5197 Mon Sep 17 00:00:00 2001 From: paireks Date: Thu, 23 Jan 2025 21:30:19 +0100 Subject: [PATCH 1/2] Comments clean-up --- examples/annotations/annotations_createWithTouch.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/annotations/annotations_createWithTouch.html b/examples/annotations/annotations_createWithTouch.html index a8d7f009b1..bc37aae803 100644 --- a/examples/annotations/annotations_createWithTouch.html +++ b/examples/annotations/annotations_createWithTouch.html @@ -169,7 +169,7 @@

Resources

// 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 @@ -222,7 +222,7 @@

Resources

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( From cda961f77ba6616b5e56db1e38a8df7a0eb1e4d0 Mon Sep 17 00:00:00 2001 From: paireks Date: Thu, 23 Jan 2025 21:34:09 +0100 Subject: [PATCH 2/2] Fix header comments --- examples/slicing/SectionPlanesPlugin_createWithMouse.html | 2 +- examples/slicing/SectionPlanesPlugin_createWithMouse_dtx.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/slicing/SectionPlanesPlugin_createWithMouse.html b/examples/slicing/SectionPlanesPlugin_createWithMouse.html index 71b1a49d88..201f161ee5 100644 --- a/examples/slicing/SectionPlanesPlugin_createWithMouse.html +++ b/examples/slicing/SectionPlanesPlugin_createWithMouse.html @@ -119,7 +119,7 @@

Resources

//------------------------------------------------------------------------------------------------------------------ - // 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; diff --git a/examples/slicing/SectionPlanesPlugin_createWithMouse_dtx.html b/examples/slicing/SectionPlanesPlugin_createWithMouse_dtx.html index e1eb2dc9e1..00869968aa 100644 --- a/examples/slicing/SectionPlanesPlugin_createWithMouse_dtx.html +++ b/examples/slicing/SectionPlanesPlugin_createWithMouse_dtx.html @@ -120,7 +120,7 @@

Resources

//------------------------------------------------------------------------------------------------------------------ - // 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;