add ThermionPickResult typedef

This commit is contained in:
Nick Fisher
2024-09-20 14:53:48 +08:00
parent 0e3db2635f
commit 378dede02d

View File

@@ -1,4 +1,5 @@
// "picking" means clicking/tapping on the viewport, and unprojecting the X/Y coordinate to determine whether any renderable entities were present at those coordinates.
import 'package:thermion_dart/thermion_dart/viewer/shared_types/shared_types.dart';
typedef FilamentPickResult = ({ThermionEntity entity, double x, double y});
typedef FilamentPickResult = ({ThermionEntity entity, double x, double y});
typedef ThermionPickResult = FilamentPickResult;