1
0
forked from cgvr/DeltaVR

change shape checker configurations + fix bug with rounding

This commit is contained in:
2026-03-07 16:05:37 +02:00
parent 944b4f0827
commit 7a37566296
4 changed files with 8 additions and 8 deletions

View File

@@ -166,7 +166,7 @@ public class ShapeScanner : MonoBehaviour
private float calculateCorrectPercentage()
{
return Mathf.RoundToInt((float)correctRayStates / rayCount * 100);
return (float) correctRayStates / rayCount * 100;
}
public void IncrementCorrectRayCount()