source:
issm/oecreview/Archive/13393-13976/ISSM-13840-13841.diff
Last change on this file was 13980, checked in by , 12 years ago | |
---|---|
File size: 2.3 KB |
-
../trunk-jpl/src/android/helloworld/ISSM/.classpath
1 1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <classpath> 3 <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/> 4 <classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/> 3 5 <classpathentry kind="src" path="src"/> 4 6 <classpathentry kind="src" path="gen"/> 5 <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>6 <classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>7 7 <classpathentry kind="output" path="bin/classes"/> 8 8 </classpath> -
../trunk-jpl/src/android/helloworld/ISSM/AndroidManifest.xml
4 4 android:versionName="1.0" > 5 5 6 6 <uses-sdk 7 android:minSdkVersion=" 5"7 android:minSdkVersion="8" 8 8 android:targetSdkVersion="15" /> 9 9 10 10 <application -
../trunk-jpl/src/android/helloworld/ISSM/src/com/example/issm/MyGLRenderer.java
33 33 public void onSurfaceCreated(GL10 unused, EGLConfig config) { 34 34 35 35 // Set the background frame color 36 GLES20.glClearColor( 0.0f, 0.0f, 0.0f, 1.0f);36 GLES20.glClearColor(1.0f, 1.0f, 1.0f, 1.0f); 37 37 38 38 mTriangle = new Triangle(); 39 39 } … … 102 102 private final int vertexStride = COORDS_PER_VERTEX * 4; // bytes per vertex 103 103 104 104 // Set color with red, green, blue and alpha (opacity) values 105 float color[] = { 0. 63671875f, 0.76953125f, 0.22265625f, 1.0f };105 float color[] = { 0.0f, 0.0f, 1.0f, 1.0f }; 106 106 107 107 public Triangle() { 108 108 // initialize vertex byte buffer for shape coordinates
Note:
See TracBrowser
for help on using the repository browser.