replace util.clip by utils.clamp (from libomv), and a few more cosmetics

This commit is contained in:
UbitUmarov
2022-03-18 02:20:40 +00:00
parent 811b2de565
commit 846d2df245
12 changed files with 63 additions and 62 deletions

View File

@@ -301,7 +301,7 @@ namespace OpenSim.Region.CoreModules.World.Sound
if (!m_scene.TryGetSceneObjectPart(objectID, out part))
return;
volume = Util.Clip((float)volume, 0, 1);
volume = Utils.Clamp(volume, 0, 1);
UUID parentID = part.ParentGroup.UUID;