diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-12-22 04:03:20 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-12-22 04:03:20 +0400 |
commit | 51016c4dea9904cbaea8b06d692d6f2dd747a6e8 (patch) | |
tree | 02554c55c8f3de7314b967245ea15fb000a75e7c /intern/audaspace | |
parent | 5272d76faa969bc379ca1d1c28601c67fce98b24 (diff) |
split >120 length lines (mostly if statements)
Diffstat (limited to 'intern/audaspace')
-rw-r--r-- | intern/audaspace/intern/AUD_SoftwareDevice.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/intern/audaspace/intern/AUD_SoftwareDevice.cpp b/intern/audaspace/intern/AUD_SoftwareDevice.cpp index b1e5d8ccd75..1d993abab73 100644 --- a/intern/audaspace/intern/AUD_SoftwareDevice.cpp +++ b/intern/audaspace/intern/AUD_SoftwareDevice.cpp @@ -121,7 +121,9 @@ void AUD_SoftwareDevice::AUD_SoftwareHandle::update() if(flags & AUD_RENDER_DISTANCE) { - if(m_device->m_distance_model == AUD_DISTANCE_MODEL_INVERSE_CLAMPED || m_device->m_distance_model == AUD_DISTANCE_MODEL_LINEAR_CLAMPED || m_device->m_distance_model == AUD_DISTANCE_MODEL_EXPONENT_CLAMPED) + if(m_device->m_distance_model == AUD_DISTANCE_MODEL_INVERSE_CLAMPED || + m_device->m_distance_model == AUD_DISTANCE_MODEL_LINEAR_CLAMPED || + m_device->m_distance_model == AUD_DISTANCE_MODEL_EXPONENT_CLAMPED) { distance = AUD_MAX(AUD_MIN(m_distance_max, distance), m_distance_reference); } |