mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-12-06 00:32:35 -08:00
Spotless
This commit is contained in:
2 files changed
+8
-1
No files matched your search
@@ -61,6 +61,7 @@ data class VMCConfig(
|
||||
)
|
||||
|
||||
const val DEFAULT_VRC_OSC_PORT_OUT: Int = 9000
|
||||
|
||||
@Serializable
|
||||
data class VRCOSCConfig(
|
||||
val enabled: Boolean = false,
|
||||
|
||||
@@ -71,10 +71,16 @@ internal fun buildYawAlignMessage(headRotation: Quaternion): OscMessage {
|
||||
// TODO read from Output Settings
|
||||
private fun shouldSendTracker(bodyPart: BodyPart, config: VRCOSCConfig): Boolean = when (bodyPart) {
|
||||
BodyPart.HIP -> true
|
||||
|
||||
BodyPart.LEFT_FOOT, BodyPart.RIGHT_FOOT -> true
|
||||
|
||||
BodyPart.LEFT_UPPER_LEG, BodyPart.RIGHT_UPPER_LEG -> true
|
||||
BodyPart.UPPER_CHEST -> true // TODO why UPPER_CHEST instead of CHEST?
|
||||
|
||||
// TODO why UPPER_CHEST instead of CHEST?
|
||||
BodyPart.UPPER_CHEST -> true
|
||||
|
||||
BodyPart.LEFT_UPPER_ARM, BodyPart.RIGHT_UPPER_ARM -> false
|
||||
|
||||
else -> false
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user