mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
*** empty log message ***
This commit is contained in:
parent
9f577fdc28
commit
2351e0e04b
@ -33,7 +33,6 @@ class SfxPlayer:
|
||||
Get the volume that a sound should be played at if it is
|
||||
localized at this node. We compute this wrt the camera
|
||||
"""
|
||||
import math
|
||||
d = node.getDistance(base.cam)
|
||||
if d > self.cutoffDistance:
|
||||
volume = 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user