Skip to content

Commit 4e19e52

Browse files
committed
fix: 🐛 Fix eye gaze space
1 parent 88afeff commit 4e19e52

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ViveStreamingEyes.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ private void UpdateEyeDirection(Eye eye, FaceData.EyeDataIndex xIndex, FaceData.
8888
var direction = new float3(
8989
eyeData[xIndex],
9090
eyeData[yIndex],
91-
eyeData[zIndex]
91+
-eyeData[zIndex]
9292
).Normalized;
9393

9494
if (!direction.IsNaN && !direction.Approximately(float3.Zero, 0.001f))

0 commit comments

Comments
 (0)