Kaynağa Gözat

added get_initial_value (for controlJoint)

Josh Yelon 20 yıl önce
ebeveyn
işleme
e0d0f8a8b7
1 değiştirilmiş dosya ile 6 ekleme ve 0 silme
  1. 6 0
      panda/src/chan/movingPart.h

+ 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();