Hi,
I made a simple cube in wings 3d.
Now I’m trying to load this with:
private Mesh model;
...
@Override
public void create() {
InputStream fileIn = Gdx.files.internal( "data/cube.obj" ).read();
model = ObjLoader.loadObj( fileIn, true );
}
But it’s not working. For the model = … Line -> eclipse says:
The method loadObj(FileHandle, boolean) in the type ObjLoader is not applicable for the arguments (InputStream, boolean)