Commit 665fb052 authored by Maurice Tayeb Andreas's avatar Maurice Tayeb Andreas

new demo Table

parent e0bbe6bc
...@@ -84,7 +84,7 @@ public class VAUListener : MonoBehaviour { ...@@ -84,7 +84,7 @@ public class VAUListener : MonoBehaviour {
{ {
if (actDistance > reverbZone.minDistance) if (actDistance > reverbZone.minDistance)
{ {
actReverbTime += reverbZone.decayTime * (actDistance - reverbZone.minDistance) / (reverbZone.maxDistance - reverbZone.minDistance); actReverbTime += reverbZone.decayTime * (reverbZone.maxDistance - actDistance) / (reverbZone.maxDistance - reverbZone.minDistance);
} }
else else
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment