¡@

Home 

2014/10/16 ¤W¤È 08:13:28

android Programming Glossary: farcoords

Android OpenGL 3D picking

http://stackoverflow.com/questions/6699387/android-opengl-3d-picking

pickY float nearCoords 0.0f 0.0f 0.0f 0.0f float farCoords 0.0f 0.0f 0.0f 0.0f GLU.gluUnProject screenWidth 2 screenHeight.. 2 1.0f mg.mModelView 0 mg.mProjection 0 viewport 0 farCoords 0 System.out.println Near nearCoords 0 nearCoords 1 nearCoords.. 0 nearCoords 1 nearCoords 2 System.out.println Far farCoords 0 farCoords 1 farCoords 2 Plot the points in the scene nearMarker.set..

Android OpenGL 3D picking

http://stackoverflow.com/questions/6699387/android-opengl-3d-picking

i mg.getCurrentState gl float realY float screenHeight pickY float nearCoords 0.0f 0.0f 0.0f 0.0f float farCoords 0.0f 0.0f 0.0f 0.0f GLU.gluUnProject screenWidth 2 screenHeight 2 0.0f mg.mModelView 0 mg.mProjection 0 viewport 0 nearCoords.. 0 nearCoords 0 GLU.gluUnProject screenWidth 2 screenHeight 2 1.0f mg.mModelView 0 mg.mProjection 0 viewport 0 farCoords 0 System.out.println Near nearCoords 0 nearCoords 1 nearCoords 2 System.out.println Far farCoords 0 farCoords 1 farCoords.. 0 viewport 0 farCoords 0 System.out.println Near nearCoords 0 nearCoords 1 nearCoords 2 System.out.println Far farCoords 0 farCoords 1 farCoords 2 Plot the points in the scene nearMarker.set nearCoords farMarker.set farCoords markerOn true double..