public class TriParser extends Object implements SceneParser
Constructor and Description |
---|
TriParser() |
Modifier and Type | Method and Description |
---|---|
boolean |
parse(String filename,
SunflowAPIInterface api)
Parse the specified file to create a scene description into the provided
SunflowAPI object. |
public boolean parse(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.Copyright © 2017. All rights reserved.