浏览代码

*** empty log message ***

Mike Goslin 25 年之前
父节点
当前提交
090b613cea
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      panda/src/gobj/LOD.I

+ 1 - 1
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
 //  Description: Scales the switching distances by the square root of
 //               the indicated factor.
 //               the indicated factor.
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
-void LODSwitch::
+INLINE void LODSwitch::
 rescale(float factor_squared) {
 rescale(float factor_squared) {
   _in *= factor_squared;
   _in *= factor_squared;
   _out *= factor_squared;
   _out *= factor_squared;