26 lines
678 B
C++
26 lines
678 B
C++
// Filename: lvector2_src.h
|
|
// Created by: drose (08Mar00)
|
|
//
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
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());
|
|
}
|
|
}
|
|
|
|
|