Error with acceleromter API. Missed the acceleration object

This commit is contained in:
Joe Bowser 2009-11-23 10:49:37 -08:00
parent b5ba71850c
commit 163c6f3536

View File

@ -1,3 +1,10 @@
function Acceleration(x, y, z)
{
this.x = x;
this.y = y;
this.z = z;
}
// Need to define these for android
_accel = {}
_accel.x = 0;