Meshtastic App
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Meshtastic App
feature-map-terrain
/
org.meshtastic.feature.map.terrain.spatial
/
SpatialZoom
/
clampToDisk
clamp
To
Disk
fun
clampToDisk
(
point
:
Vec3
,
diskRadius
:
Float
)
:
Vec3
(
source
)
A point pulled in flat to the disk's rim when it lies past it, keeping its height.