forked from cgvr/DeltaVR
change shape checker configurations + fix bug with rounding
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user