refactor!: rename removeAsset to destroyAsset

use render thread methods for lights
This commit is contained in:
Nick Fisher committed 2025-01-07 08:25:48 +08:00
1 parent 04adbc39e0
commit 4e64c4976f
25 files changed
+1233 -219

No files matched your search

@@ -22,7 +22,7 @@ class _Gizmo {
Future dispose() async {
await transformUpdates.close();
await viewer.removeAsset(_gizmo);
await viewer.destroyAsset(_gizmo);
}
Future hide() async {
@@ -23,7 +23,7 @@
// }
// Future dispose() async {
// await viewer.removeAsset(_translationGizmo);
// await viewer.destroyAsset(_translationGizmo);
// }
// @override