android Programming Glossary: cosalpha0
Spinning globe in Opengl-es http://stackoverflow.com/questions/3811082/spinning-globe-in-opengl-es float textureCoords new float 10 stacks 1 double alpha0 i 2 Math.PI slices double alpha1 i 1 2 Math.PI slices float cosAlpha0 float Math.cos alpha0 float sinAlpha0 float Math.sin alpha0 float cosAlpha1 float Math.cos alpha1 float sinAlpha1 float.. radius cosBeta cosAlpha1 radius sinBeta radius cosBeta sinAlpha1 Utils.setXYZ vertexCoords 6 j 3 radius cosBeta cosAlpha0 radius sinBeta radius cosBeta sinAlpha0 Utils.setXYZ normalCoords 6 j cosBeta cosAlpha1 sinBeta cosBeta sinAlpha1.. normalCoords 6 j cosBeta cosAlpha1 sinBeta cosBeta sinAlpha1 Utils.setXYZ normalCoords 6 j 3 cosBeta cosAlpha0 sinBeta cosBeta sinAlpha0 Utils.setXY textureCoords 4 j float i 1 slices float j stacks Utils.setXY textureCoords..
|