diff options
Diffstat (limited to 'src/demos/util/ObjReader.java')
-rw-r--r-- | src/demos/util/ObjReader.java | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/demos/util/ObjReader.java b/src/demos/util/ObjReader.java index 10882f0..382a658 100644 --- a/src/demos/util/ObjReader.java +++ b/src/demos/util/ObjReader.java @@ -68,16 +68,8 @@ public class ObjReader { this(new File(filename)); } - public ObjReader(InputStream in) throws IOException { - this(new InputStreamReader(in)); - } - public ObjReader(File file) throws IOException { - this (new FileReader(file)); - } - - public ObjReader(Reader r) throws IOException { - BufferedReader reader = new BufferedReader(r); + BufferedReader reader = new BufferedReader(new FileReader(file)); String line = null; int lineNo = 0; float[] floatTmp = new float[3]; |