34 lines
1.0 KiB
C++
34 lines
1.0 KiB
C++
// Filename: lvector2_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(LVector2)::_type_handle;
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function: LVector2::init_type
|
|
// Access: Public, Static
|
|
// Description:
|
|
////////////////////////////////////////////////////////////////////
|
|
void FLOATNAME(LVector2)::
|
|
init_type() {
|
|
if (_type_handle == TypeHandle::none()) {
|
|
FLOATNAME(LVecBase2)::init_type();
|
|
string name = "LVector2";
|
|
name += FLOATTOKEN;
|
|
register_type(_type_handle, name,
|
|
FLOATNAME(LVecBase2)::get_class_type());
|
|
}
|
|
}
|
|
|
|
|