mirror of https://github.com/axmolengine/axmol.git
Merge pull request #2665 from jotel/accel-fix
Explicitly initialising CCAcceleration structure
This commit is contained in:
commit
9db1a7b550
|
@ -39,6 +39,8 @@ public:
|
||||||
double z;
|
double z;
|
||||||
|
|
||||||
double timestamp;
|
double timestamp;
|
||||||
|
|
||||||
|
CCAcceleration(): x(0), y(0), z(0), timestamp(0) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue