add implementations to FFI viewer

This commit is contained in:
Nick Fisher
2024-08-24 16:24:59 +08:00
parent f1a2926bdf
commit 3c05cc6a43
3 changed files with 80 additions and 55 deletions

View File

@@ -1,6 +1,3 @@
import 'package:thermion_dart/thermion_dart/thermion_viewer.dart';
import 'package:vector_math/vector_math_64.dart';
@@ -15,9 +12,7 @@ abstract class AbstractGizmo {
void detach();
Aabb2 boundingBox = Aabb2();
Stream<Aabb2> get boundingBox;
void checkHover(double x, double y) {
if(boundingBox.containsVector2(Vector2(x, y)));
}
void checkHover(double x, double y);
}