|
@@ -34273,6 +34273,11 @@ class SkeletonHelper extends LineSegments {
|
|
|
super.updateMatrixWorld(force);
|
|
|
}
|
|
|
|
|
|
+ dispose() {
|
|
|
+ this.geometry.dispose();
|
|
|
+ this.material.dispose();
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
|
|
|
function getBoneList(object) {
|
|
@@ -34440,6 +34445,11 @@ class GridHelper extends LineSegments {
|
|
|
this.type = 'GridHelper';
|
|
|
}
|
|
|
|
|
|
+ dispose() {
|
|
|
+ this.geometry.dispose();
|
|
|
+ this.material.dispose();
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
|
|
|
class PolarGridHelper extends LineSegments {
|
|
@@ -34494,6 +34504,11 @@ class PolarGridHelper extends LineSegments {
|
|
|
this.type = 'PolarGridHelper';
|
|
|
}
|
|
|
|
|
|
+ dispose() {
|
|
|
+ this.geometry.dispose();
|
|
|
+ this.material.dispose();
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
|
|
|
const _v1 = /*@__PURE__*/new Vector3();
|
|
@@ -34881,6 +34896,11 @@ class BoxHelper extends LineSegments {
|
|
|
return this;
|
|
|
}
|
|
|
|
|
|
+ dispose() {
|
|
|
+ this.geometry.dispose();
|
|
|
+ this.material.dispose();
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
|
|
|
class Box3Helper extends LineSegments {
|
|
@@ -34908,6 +34928,11 @@ class Box3Helper extends LineSegments {
|
|
|
super.updateMatrixWorld(force);
|
|
|
}
|
|
|
|
|
|
+ dispose() {
|
|
|
+ this.geometry.dispose();
|
|
|
+ this.material.dispose();
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
|
|
|
class PlaneHelper extends Line {
|
|
@@ -34945,6 +34970,13 @@ class PlaneHelper extends Line {
|
|
|
super.updateMatrixWorld(force);
|
|
|
}
|
|
|
|
|
|
+ dispose() {
|
|
|
+ this.geometry.dispose();
|
|
|
+ this.material.dispose();
|
|
|
+ this.children[0].geometry.dispose();
|
|
|
+ this.children[0].material.dispose();
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
|
|
|
const _axis = /*@__PURE__*/new Vector3();
|
|
@@ -35019,6 +35051,13 @@ class ArrowHelper extends Object3D {
|
|
|
return this;
|
|
|
}
|
|
|
|
|
|
+ dispose() {
|
|
|
+ this.line.geometry.dispose();
|
|
|
+ this.line.material.dispose();
|
|
|
+ this.cone.geometry.dispose();
|
|
|
+ this.cone.material.dispose();
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
|
|
|
class AxesHelper extends LineSegments {
|