2
0
Эх сурвалжийг харах

added get_initial_value (for controlJoint)

Josh Yelon 20 жил өмнө
parent
commit
e0d0f8a8b7

+ 6 - 0
panda/src/chan/movingPart.h

@@ -66,6 +66,12 @@ PUBLISHED:
   static TypeHandle get_class_type() {
     return _type_handle;
   }
+  INLINE ValueType get_value() const {
+    return _value;
+  }
+  INLINE ValueType get_initial_value() const {
+    return _initial_value;
+  }
 public:
   static void init_type() {
     MovingPartBase::init_type();