mirror of https://github.com/axmolengine/axmol.git
Explicitly initialising CCAcceleration structure to report zeros when run in device simulator
This commit is contained in:
parent
8293f68949
commit
2999abed2b
|
@ -39,6 +39,8 @@ public:
|
|||
double z;
|
||||
|
||||
double timestamp;
|
||||
|
||||
CCAcceleration(): x(0), y(0), z(0), timestamp(0) {}
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue