diff --git a/panda/src/gobj/LOD.I b/panda/src/gobj/LOD.I index a380884259..5571931e4d 100644 --- a/panda/src/gobj/LOD.I +++ b/panda/src/gobj/LOD.I @@ -56,7 +56,7 @@ in_range(float dist_squared) const { // Description: Scales the switching distances by the square root of // the indicated factor. //////////////////////////////////////////////////////////////////// -void LODSwitch:: +INLINE void LODSwitch:: rescale(float factor_squared) { _in *= factor_squared; _out *= factor_squared;