Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (int i = 0; i < indicesLines;i++) {
- line = reader.readLine();
- String[] currentLine = line.split(" ");
- if(Integer.valueOf(currentLine[0]) == 3) {
- indices.add(Integer.valueOf(currentLine[1]));
- indices.add(Integer.valueOf(currentLine[2]));
- indices.add(Integer.valueOf(currentLine[3]));
- } else {
- //break down the polygon into triangles
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement