Project

General

Profile

« Previous | Next » 

Revision 6f3024ae

Added by Leszek Koltunski over 7 years ago

Fix a lot of Lint warnings in the apps.

View differences:

src/main/java/org/distorted/examples/cubes/CubesSurfaceView.java
23 23

  
24 24
import android.content.Context;
25 25
import android.opengl.GLSurfaceView;
26
import android.os.Build;
27 26
import android.util.AttributeSet;
28 27
import android.view.MotionEvent;
29 28
import android.widget.Toast;
......
101 100
                                       float rz = mRenderer.mQuat2.getZ();
102 101
                                       float rw = mRenderer.mQuat2.getW();
103 102

  
104
                                       // This is quaternion multiplication. (tx.ty.tz.tw)
103
                                       // This is quaternion multiplication. (tx,ty,tz,tw)
105 104
                                       // is now equal to (qx,qy,qz,qw)*(rx,ry,rz,rw)
106 105
                                       float tx = rw*qx - rz*qy + ry*qz + rx*qw;
107 106
                                       float ty = rw*qy + rz*qx + ry*qw - rx*qz;

Also available in: Unified diff