mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
fix occasional crash with code compiled with gcc
This commit is contained in:
parent
c82df3d2ff
commit
b9009141e1
@ -183,7 +183,7 @@ PointDef(const LPoint2f &p, const LVector2f &v) : _p(p), _v(v) {
|
|||||||
// Description:
|
// Description:
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
INLINE CollisionPolygon::PointDef::
|
INLINE CollisionPolygon::PointDef::
|
||||||
PointDef(float x, float y) : _p(x, y) {
|
PointDef(float x, float y) : _p(x, y), _v(0.0f, 0.0f) {
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
|
Loading…
x
Reference in New Issue
Block a user