onTapEvent method
Handle tap event
Implementation
onTapEvent(TapDownDetails details) {
setState(() {
clickPoint = details.localPosition;
});
widget.onTap?.call(
convert2DPointToSphereCoordinates(
details.localPosition,
center,
convertedRadius(),
rotationY,
rotationZ,
),
);
}