mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-03 17:30:04 -05:00
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:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user