fix: reduce size of pick functor for compatibility with armeabi-v7a

This commit is contained in:
Nick Fisher
2024-10-30 10:44:55 +08:00
parent 1ac72b7c7b
commit 3e29749eb4
5 changed files with 26 additions and 15 deletions

View File

@@ -178,6 +178,12 @@ external void Viewer_pick(
callback,
);
@ffi.Native<ffi.Bool Function(ffi.Pointer<TViewer>, EntityId)>(isLeaf: true)
external bool Viewer_isNonPickableEntity(
ffi.Pointer<TViewer> viewer,
int entityId,
);
@ffi.Native<ffi.Pointer<TEngine> Function(ffi.Pointer<TViewer>)>(isLeaf: true)
external ffi.Pointer<TEngine> Viewer_getEngine(
ffi.Pointer<TViewer> viewer,