Explicitly initialising CCAcceleration structure to report zeros when run in device simulator

This commit is contained in:
Jaroslaw Lewandowski 2013-05-29 00:02:36 +01:00
parent 8293f68949
commit 2999abed2b
1 changed files with 2 additions and 0 deletions

View File

@ -39,6 +39,8 @@ public:
double z;
double timestamp;
CCAcceleration(): x(0), y(0), z(0), timestamp(0) {}
};
/**