Advertisement
Guest User

Untitled

a guest
Feb 5th, 2016
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. for (int i = 0; i < indicesLines;i++) {
  2. line = reader.readLine();
  3. String[] currentLine = line.split(" ");
  4. if(Integer.valueOf(currentLine[0]) == 3) {
  5. indices.add(Integer.valueOf(currentLine[1]));
  6. indices.add(Integer.valueOf(currentLine[2]));
  7. indices.add(Integer.valueOf(currentLine[3]));
  8. } else {
  9. //break down the polygon into triangles
  10. }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement