We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bf3828f + 88674c6 commit 4f874dcCopy full SHA for 4f874dc
2 files changed
ViveStreamingEyes.cs
@@ -14,7 +14,10 @@ private readonly struct EyeData
14
public EyeData()
15
{
16
data = new float[(int)FaceData.EyeDataIndex.MAX];
17
- Array.Fill(data, float.NaN);
+ for (var i = 0; i < data.Length; i++)
18
+ {
19
+ data[i] = float.NaN;
20
+ }
21
}
22
23
public float this[FaceData.EyeDataIndex index] => data[(int)index];
ViveStreamingMouth.cs
@@ -14,7 +14,10 @@ private readonly struct MouthData
public MouthData()
data = new float[(int)FaceData.LipDataIndex.Max];
public readonly float this[FaceData.LipDataIndex index] => data[(int)index];
0 commit comments