Search:

Type: Posts; User: helloworld922

Search: Search took 0.18 seconds.

  1. Replies
    9
    Views
    3,601

    Re: private method , loop , switch , help?

    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...
  2. Replies
    9
    Views
    3,601

    Re: private method , loop , switch , help?

    I'm guessing that the files are arranged as such:

    object name
    vertices
    object name
    vertices

    ... etc

    right?
  3. Replies
    9
    Views
    3,601

    Re: private method , loop , switch , help?

    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...
  4. Replies
    9
    Views
    3,601

    Re: private method , loop , switch , help?

    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...
Results 1 to 4 of 4