Merge pull request #675 from mazerty/patch-1

LodGenerator should accept a constructor by mesh
This commit is contained in:
empirephoenix 2017-06-23 13:22:50 +02:00 committed by GitHub
commit 9116772472

View File

@ -254,6 +254,16 @@ public class LodGenerator {
}
};
/**
* Construct a LodGenerator for the given mesh
*
* @param mesh the mesh to consider to generate de Lods.
*/
public LodGenerator(Mesh mesh) {
this.mesh = mesh;
build();
}
/**
* Construct a LodGenerator for the given geometry
*