yes, but the file containing all the 3D objects/polygons were formatted as such, yes?
If you want, it's possible to further process the list of vertices/3d object into polygon objects that have 3...
Type: Posts; User: helloworld922
yes, but the file containing all the 3D objects/polygons were formatted as such, yes?
If you want, it's possible to further process the list of vertices/3d object into polygon objects that have 3...
I'm guessing that the files are arranged as such:
object name
vertices
object name
vertices
... etc
right?
You'll still run into the same issues I pointed out above. It's better to read in one "word" (stuff separated by white-spaces), then parse those. That is, if it's safe to say you won't get any input...
The reason is Java is hitting the return statements, so everything after them won't ever get executed.
case 'a':
return true; // method is done
break; // won't ever get executed...