Protected Member Functions | |
boolean | loadModel (String filename) |
Parser for simple file format, where first all vertices are listed and after #
3 values per line for each triangle indicating the vertex index.
Example:
0.5 0.4 0.5 0.4 0.3 1.3 .... # 0 3 4 0 1 2 1 2 4 ....
Definition at line 41 of file CustomParser.java.
boolean edu.tum.cs.vis.model.parser.CustomParser.loadModel | ( | String | filename | ) | [inline, protected, virtual] |
This function will be called from parseModel if the model isn't in the Buffer
filename | Physical file of model to parse |
Implements edu.tum.cs.vis.model.parser.ModelParser.
Definition at line 47 of file CustomParser.java.