00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 TypeHandle FLOATNAME(LVecBase4)::_type_handle;
00020
00021 const FLOATNAME(LVecBase4) FLOATNAME(LVecBase4)::_zero =
00022 FLOATNAME(LVecBase4)(0.0f, 0.0f, 0.0f, 0.0f);
00023 const FLOATNAME(LVecBase4) FLOATNAME(LVecBase4)::_unit_x =
00024 FLOATNAME(LVecBase4)(1.0f, 0.0f, 0.0f, 0.0f);
00025 const FLOATNAME(LVecBase4) FLOATNAME(LVecBase4)::_unit_y =
00026 FLOATNAME(LVecBase4)(0.0f, 1.0f, 0.0f, 0.0f);
00027 const FLOATNAME(LVecBase4) FLOATNAME(LVecBase4)::_unit_z =
00028 FLOATNAME(LVecBase4)(0.0f, 0.0f, 1.0f, 0.0f);
00029 const FLOATNAME(LVecBase4) FLOATNAME(LVecBase4)::_unit_w =
00030 FLOATNAME(LVecBase4)(0.0f, 0.0f, 0.0f, 1.0f);
00031
00032
00033
00034
00035
00036
00037
00038 void FLOATNAME(LVecBase4)::
00039 init_type() {
00040 if (_type_handle == TypeHandle::none()) {
00041
00042 string name = "LVecBase4";
00043 name += FLOATTOKEN;
00044 register_type(_type_handle, name);
00045 }
00046 }