From e0d0f8a8b7cdb0c66c1974b4872194e4fd1d4d08 Mon Sep 17 00:00:00 2001 From: Josh Yelon Date: Tue, 12 Apr 2005 23:20:28 +0000 Subject: [PATCH] added get_initial_value (for controlJoint) --- panda/src/chan/movingPart.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/panda/src/chan/movingPart.h b/panda/src/chan/movingPart.h index b3ab72ad17..6fac503543 100644 --- a/panda/src/chan/movingPart.h +++ b/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();