// Filename: lpoint2_src.cxx // Created by: drose (08Mar00) // //////////////////////////////////////////////////////////////////// // // 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." // //////////////////////////////////////////////////////////////////// TypeHandle FLOATNAME(LPoint2)::_type_handle; //////////////////////////////////////////////////////////////////// // Function: LPoint2::init_type // Access: Public, Static // Description: //////////////////////////////////////////////////////////////////// void FLOATNAME(LPoint2):: init_type() { if (_type_handle == TypeHandle::none()) { FLOATNAME(LVecBase2)::init_type(); string name = "LPoint2"; name += FLOATTOKEN; register_type(_type_handle, name, FLOATNAME(LVecBase2)::get_class_type()); } }