From cb7828820da0d229d8a5f10ef97e899feae1dd5a Mon Sep 17 00:00:00 2001 From: Nick Fisher Date: Fri, 20 Sep 2024 14:53:48 +0800 Subject: [PATCH] add ThermionPickResult typedef --- .../lib/thermion_dart/viewer/shared_types/pick_result.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/thermion_dart/lib/thermion_dart/viewer/shared_types/pick_result.dart b/thermion_dart/lib/thermion_dart/viewer/shared_types/pick_result.dart index a3d9ac31..3daa74de 100644 --- a/thermion_dart/lib/thermion_dart/viewer/shared_types/pick_result.dart +++ b/thermion_dart/lib/thermion_dart/viewer/shared_types/pick_result.dart @@ -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}); \ No newline at end of file +typedef FilamentPickResult = ({ThermionEntity entity, double x, double y}); +typedef ThermionPickResult = FilamentPickResult;