/** * 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." * * @file animChannelFixed.I * @author drose * @date 1999-02-24 */ template TypeHandle AnimChannelFixed::_type_handle; /** * Creates a new AnimChannelFixed, just like this one, without copying any * children. The new copy is added to the indicated parent. Intended to be * called by make_copy() only. */ template INLINE AnimChannelFixed:: AnimChannelFixed(AnimGroup *parent, const AnimChannelFixed ©) : AnimChannel(parent, copy), _value(copy._value) { } /** * */ template INLINE AnimChannelFixed:: AnimChannelFixed(const std::string &name, const ValueType &value) : AnimChannel(name), _value(value) { } /** * */ template bool AnimChannelFixed:: has_changed(int, double, int, double) { return false; } /** * */ template void AnimChannelFixed:: get_value(int, ValueType &value) { value = _value; } /** * */ template void AnimChannelFixed:: output(std::ostream &out) const { AnimChannel::output(out); out << " = " << _value; }