Remove some format rule (#10919)

* remove some rules
* format all codes with new format rule
This commit is contained in:
minggo
2022-05-04 13:09:24 +08:00
committed by GitHub
parent e9a4bdd4dc
commit 271cc5cf23
1148 changed files with 32411 additions and 34416 deletions

View File

@@ -38,7 +38,7 @@ void Accelerometer::setAccelerometerInterval(float interval) {
const Accelerometer::MotionValue &Accelerometer::getDeviceMotionValue() {
static MotionValue motionValue;
float * v = getDeviceMotionValueJNI();
float *v = getDeviceMotionValueJNI();
if (v) {
motionValue.accelerationIncludingGravityX = v[0];
@@ -50,7 +50,7 @@ const Accelerometer::MotionValue &Accelerometer::getDeviceMotionValue() {
motionValue.accelerationZ = v[5];
motionValue.rotationRateAlpha = v[6];
motionValue.rotationRateBeta = v[7];
motionValue.rotationRateBeta = v[7];
motionValue.rotationRateGamma = v[8];
} else {
memset(&motionValue, 0, sizeof(motionValue));