// Filename: userVertexSlider.I // Created by: drose (28Mar05) // //////////////////////////////////////////////////////////////////// // // PANDA 3D SOFTWARE // Copyright (c) Carnegie Mellon University. All rights reserved. // // All use of this software is subject to the terms of the revised BSD // license. You should have received a copy of this license along // with this source code in a file named "LICENSE." // //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: UserVertexSlider::set_slider // Access: Published // Description: Stores the indicated slider value. //////////////////////////////////////////////////////////////////// INLINE void UserVertexSlider:: set_slider(float slider) { Thread *current_thread = Thread::get_current_thread(); CDWriter cdata(_cycler, true, current_thread); cdata->_slider = slider; mark_modified(current_thread); } //////////////////////////////////////////////////////////////////// // Function: UserVertexSlider::CData::Constructor // Access: Public // Description: //////////////////////////////////////////////////////////////////// INLINE UserVertexSlider::CData:: CData() : _slider(0.0f) { } //////////////////////////////////////////////////////////////////// // Function: UserVertexSlider::CData::Copy Constructor // Access: Public // Description: //////////////////////////////////////////////////////////////////// INLINE UserVertexSlider::CData:: CData(const UserVertexSlider::CData ©) : _slider(copy._slider) { }