chore: refactoring and cleanup for Gizmo

This commit is contained in:
Nick Fisher
2024-09-28 13:24:28 +08:00
parent a2a26555e2
commit 661185083e
29 changed files with 155 additions and 150 deletions
+5
View File
@@ -145,6 +145,11 @@ using namespace filament;
view->setCamera(camera);
}
EMSCRIPTEN_KEEPALIVE TScene* View_getScene(TView* tView) {
auto view = reinterpret_cast<View *>(tView);
return reinterpret_cast<TScene*>(view->getScene());
}
#ifdef __cplusplus
}