mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
Restore assign() for vector classes
This commit is contained in:
parent
23bf9ea5c7
commit
245d1241c9
@ -33,9 +33,13 @@ PUBLISHED:
|
||||
INLINE_LINMATH FLOATNAME(LVecBase2)() DEFAULT_CTOR;
|
||||
INLINE_LINMATH FLOATNAME(LVecBase2)(FLOATTYPE fill_value);
|
||||
INLINE_LINMATH FLOATNAME(LVecBase2)(FLOATTYPE x, FLOATTYPE y);
|
||||
|
||||
ALLOC_DELETED_CHAIN(FLOATNAME(LVecBase2));
|
||||
|
||||
#ifdef CPPPARSER
|
||||
FLOATNAME(LVecBase2) &operator = (const FLOATNAME(LVecBase2) ©) = default;
|
||||
FLOATNAME(LVecBase2) &operator = (FLOATTYPE fill_value) = default;
|
||||
#endif
|
||||
|
||||
INLINE_LINMATH static const FLOATNAME(LVecBase2) &zero();
|
||||
INLINE_LINMATH static const FLOATNAME(LVecBase2) &unit_x();
|
||||
INLINE_LINMATH static const FLOATNAME(LVecBase2) &unit_y();
|
||||
|
@ -36,6 +36,11 @@ PUBLISHED:
|
||||
INLINE_LINMATH FLOATNAME(LVecBase3)(const FLOATNAME(LVecBase2) ©, FLOATTYPE z);
|
||||
ALLOC_DELETED_CHAIN(FLOATNAME(LVecBase3));
|
||||
|
||||
#ifdef CPPPARSER
|
||||
FLOATNAME(LVecBase3) &operator = (const FLOATNAME(LVecBase3) ©) = default;
|
||||
FLOATNAME(LVecBase3) &operator = (FLOATTYPE fill_value) = default;
|
||||
#endif
|
||||
|
||||
INLINE_LINMATH static const FLOATNAME(LVecBase3) &zero();
|
||||
INLINE_LINMATH static const FLOATNAME(LVecBase3) &unit_x();
|
||||
INLINE_LINMATH static const FLOATNAME(LVecBase3) &unit_y();
|
||||
|
@ -45,6 +45,11 @@ PUBLISHED:
|
||||
INLINE_LINMATH FLOATNAME(LVecBase4)(const FLOATNAME(LVector3) &vector);
|
||||
ALLOC_DELETED_CHAIN(FLOATNAME(LVecBase4));
|
||||
|
||||
#ifdef CPPPARSER
|
||||
FLOATNAME(LVecBase4) &operator = (const FLOATNAME(LVecBase4) ©) = default;
|
||||
FLOATNAME(LVecBase4) &operator = (FLOATTYPE fill_value) = default;
|
||||
#endif
|
||||
|
||||
INLINE_LINMATH static const FLOATNAME(LVecBase4) &zero();
|
||||
INLINE_LINMATH static const FLOATNAME(LVecBase4) &unit_x();
|
||||
INLINE_LINMATH static const FLOATNAME(LVecBase4) &unit_y();
|
||||
|
Loading…
x
Reference in New Issue
Block a user