public class TriParser extends java.lang.Object implements SceneParser
Constructor and Description |
---|
TriParser() |
Modifier and Type | Method and Description |
---|---|
boolean |
parse(java.lang.String filename,
SunflowAPIInterface api)
Parse the specified file to create a scene description into the provided
SunflowAPI object. |
public boolean parse(java.lang.String filename, SunflowAPIInterface api)
SceneParser
SunflowAPI
object.parse
in interface SceneParser
filename
- filename to parseapi
- scene to parse the file intotrue
upon sucess, or false
if
errors have occured.