Browse Source

*** empty log message ***

Mike Goslin 25 years ago
parent
commit
00b9fde67a
1 changed files with 6 additions and 6 deletions
  1. 6 6
      panda/src/physics/linearDistanceForce.h

+ 6 - 6
panda/src/physics/linearDistanceForce.h

@@ -8,12 +8,6 @@
 
 #include "linearForce.h"
 
-enum FalloffType {
-  FT_ONE_OVER_R,
-  FT_ONE_OVER_R_SQUARED,
-  FT_ONE_OVER_R_CUBED
-};
-
 class BamReader;
 
 ////////////////////////////////////////////////////////////////////
@@ -22,6 +16,12 @@ class BamReader;
 ////////////////////////////////////////////////////////////////////
 class EXPCL_PANDAPHYSICS LinearDistanceForce : public LinearForce {
 PUBLISHED:
+  enum FalloffType {
+    FT_ONE_OVER_R,
+    FT_ONE_OVER_R_SQUARED,
+    FT_ONE_OVER_R_CUBED
+  };
+
   INLINE void set_radius(float r);
   INLINE void set_falloff_type(FalloffType ft);
   INLINE void set_force_center(const LPoint3f& p);