onTapEvent method
Handle tap event
Implementation
void onTapEvent(TapDownDetails details) {
clickPoint = details.localPosition;
_clickNotifier.value = details.localPosition;
// Don't call setState - the ValueNotifier will trigger foreground repaint
widget.onTap?.call(
convert2DPointToSphereCoordinates(
details.localPosition,
center,
convertedRadius(),
rotationY,
rotationZ,
),
);
}