LodGenerator should accept a constructor by mesh
This commit is contained in:
parent
c2d25ee9d6
commit
1dd1888b55
@ -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
|
* Construct a LodGenerator for the given geometry
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user