diff options
author | Kenneth Russel <[email protected]> | 2006-01-13 07:29:40 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2006-01-13 07:29:40 +0000 |
commit | 4da1dead29db175817053837d7a685f10c3212b4 (patch) | |
tree | 44e33aa492c443b0ccbfef17a9795ca269a66291 /src/demos/cg/runtime_ogl_vertex_fragment | |
parent | a30f6883a5a4bfb3bebd1e34697377ef56dd9241 (diff) |
Renamed com.sun.opengl.utils to com.sun.opengl.util. Moved
TextureIO-related classes to com.sun.opengl.util.texture and
TextureProvider, TextureWriter and format-specific readers to
com.sun.opengl.util.texture.spi. Renamed BufferUtils to BufferUtil.
Added ImageUtil and FileUtil. Cleaned up javadoc. Updated demos.
Cleaned up some imports.
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@165 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
Diffstat (limited to 'src/demos/cg/runtime_ogl_vertex_fragment')
-rw-r--r-- | src/demos/cg/runtime_ogl_vertex_fragment/runtime_ogl_vertex_fragment.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/demos/cg/runtime_ogl_vertex_fragment/runtime_ogl_vertex_fragment.java b/src/demos/cg/runtime_ogl_vertex_fragment/runtime_ogl_vertex_fragment.java index 8e8d789..afafd6f 100644 --- a/src/demos/cg/runtime_ogl_vertex_fragment/runtime_ogl_vertex_fragment.java +++ b/src/demos/cg/runtime_ogl_vertex_fragment/runtime_ogl_vertex_fragment.java @@ -36,8 +36,8 @@ package demos.cg.runtime_ogl_vertex_fragment; import com.sun.opengl.cg.*; import javax.media.opengl.*; import javax.media.opengl.glu.*; -import com.sun.opengl.utils.*; -import com.sun.opengl.utils.*; +import com.sun.opengl.util.*; +import com.sun.opengl.util.*; import java.awt.*; import java.awt.event.*; @@ -329,9 +329,9 @@ public class runtime_ogl_vertex_fragment implements GLEventListener if (P == null) { int u, v; - P = BufferUtils.newFloatBuffer(3*nVerts); - N = BufferUtils.newFloatBuffer(3*nVerts); - uv = BufferUtils.newFloatBuffer(2*nVerts); + P = BufferUtil.newFloatBuffer(3*nVerts); + N = BufferUtil.newFloatBuffer(3*nVerts); + uv = BufferUtil.newFloatBuffer(2*nVerts); // Fill in the position, normal, and texture coordinate arrays. // Just loop over all of the vertices, compute their parametreic @@ -354,7 +354,7 @@ public class runtime_ogl_vertex_fragment implements GLEventListener } // Now fill in the vertex index arrays - indices = BufferUtils.newIntBuffer(3*nTris); + indices = BufferUtil.newIntBuffer(3*nTris); int ip = 0; for (v = 0; v < nv-1; ++v) { for (u = 0; u < nu-1; ++u) { |