Touch module code cleanup (#2465)

* Remove unused feature that allowed us to "pick" nodes using touch (it didn't really work and had some nasty hardcoded and costly implementation). Fixes Touch interaction picking refactor #1041

* General refactoring of code and removing redundant code

* Make touch markers prettier (change default color and smoothen edges)

* Add module property to control which renderable types are "directly touchable"

* Add SGN property to control which individual nodes are "directly touchable" ("SupportsDirectInteraction")

* Fix stuttering when zooming in closer than the orbitalnavigator allows
This commit is contained in:
Emma Broman
2023-02-14 13:55:24 +01:00
committed by GitHub
parent 9d53b1f62d
commit 352c9dd5ec
15 changed files with 464 additions and 492 deletions
+4
View File
@@ -240,6 +240,10 @@ double Renderable::interactionSphere() const {
return _interactionSphere;
}
std::string_view Renderable::typeAsString() const {
return _renderableType;
}
SurfacePositionHandle Renderable::calculateSurfacePositionHandle(
const glm::dvec3& targetModelSpace) const
{