From: Holger Z. <hz...@us...> - 2004-12-13 21:41:26
|
Update of /cvsroot/jake2/jake2/src/jake2/render/jogl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1434/src/jake2/render/jogl Modified Files: Tag: LWJGL_IMPORT Main.java Log Message: import of LWJGL code Index: Main.java =================================================================== RCS file: /cvsroot/jake2/jake2/src/jake2/render/jogl/Main.java,v retrieving revision 1.2.2.2 retrieving revision 1.2.2.2.2.1 diff -C2 -d -r1.2.2.2 -r1.2.2.2.2.1 *** Main.java 6 Sep 2004 19:39:16 -0000 1.2.2.2 --- Main.java 13 Dec 2004 21:40:44 -0000 1.2.2.2.2.1 *************** *** 486,490 **** FloatBuffer sourceVertices = particle_t.vertexArray; ! IntBuffer sourceColors = particle_t.colorArray; for (int j = 0, i = 0; i < num_particles; i++) { origin_x = sourceVertices.get(j++); --- 486,490 ---- FloatBuffer sourceVertices = particle_t.vertexArray; ! IntBuffer sourceColors = particle_t.colorArray.asIntBuffer(); for (int j = 0, i = 0; i < num_particles; i++) { origin_x = sourceVertices.get(j++); |