Guest User

Untitled

a guest
Dec 11th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.25 KB | None | 0 0
  1.     private int toInt(float num){
  2.         return (int)(num*65536);
  3.     }
  4.     public void onSurfaceCreated(GL10 gl, EGLConfig config) {
  5.         prepareCube();
  6.         int _I=toInt(0.1f);
  7.         int _V=toInt(0.5f);
  8.         int I=toInt(1.0f);
  9.         int II=toInt(2.0f);
Add Comment
Please, Sign In to add comment