summaryrefslogtreecommitdiffstats
path: root/src/demos/util/ObjReader.java
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2006-01-13 07:29:40 +0000
committerKenneth Russel <[email protected]>2006-01-13 07:29:40 +0000
commit4da1dead29db175817053837d7a685f10c3212b4 (patch)
tree44e33aa492c443b0ccbfef17a9795ca269a66291 /src/demos/util/ObjReader.java
parenta30f6883a5a4bfb3bebd1e34697377ef56dd9241 (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/util/ObjReader.java')
-rw-r--r--src/demos/util/ObjReader.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/demos/util/ObjReader.java b/src/demos/util/ObjReader.java
index 1204ed5..51da398 100644
--- a/src/demos/util/ObjReader.java
+++ b/src/demos/util/ObjReader.java
@@ -43,7 +43,7 @@ import java.io.*;
import java.nio.*;
import java.util.*;
-import com.sun.opengl.utils.*;
+import com.sun.opengl.util.*;
/** Simple parser for Wavefront .OBJ files. Does not support all file
options -- currently requires vertices and normals (only) to be
@@ -310,10 +310,10 @@ public class ObjReader {
newVertices.trim();
newVertexNormals.trim();
newIndices.trim();
- vertices = BufferUtils.newFloatBuffer(newVertices.size());
+ vertices = BufferUtil.newFloatBuffer(newVertices.size());
vertices.put(newVertices.getData());
vertices.rewind();
- normals = BufferUtils.newFloatBuffer(newVertexNormals.size());
+ normals = BufferUtil.newFloatBuffer(newVertexNormals.size());
normals.put(newVertexNormals.getData());
normals.rewind();
faceIndices = newIndices;