Просмотр исходного кода

Merge pull request #7745 from RaananW/simplification-export

Exporting quadratic mesh simplification class
David Catuhe 5 лет назад
Родитель
Сommit
b52cb2c773
2 измененных файлов с 3 добавлено и 1 удалено
  1. 2 0
      dist/preview release/what's new.md
  2. 1 1
      src/Meshes/meshSimplification.ts

+ 2 - 0
dist/preview release/what's new.md

@@ -11,10 +11,12 @@
 - Allow logging of shader code when a compilation error occurs ([Popov72](https://github.com/Popov72))
 
 ### Physics
+
 - Ammo.js IDL exposed property update and raycast vehicle stablization support ([MackeyK24](https://github.com/MackeyK24))
 
 ## Bugs
 
 - Fix infinite loop in `GlowLayer.unReferenceMeshFromUsingItsOwnMaterial` ([Popov72](https://github.com/Popov72)
+- `QuadraticErrorSimplification` was not exported ([RaananW](https://github.com/Raananw)
 
 ## Breaking changes

+ 1 - 1
src/Meshes/meshSimplification.ts

@@ -297,7 +297,7 @@ class Reference {
  * @author RaananW
  * @see http://doc.babylonjs.com/how_to/in-browser_mesh_simplification
  */
-class QuadraticErrorSimplification implements ISimplifier {
+export class QuadraticErrorSimplification implements ISimplifier {
 
     private triangles: Array<DecimationTriangle>;
     private vertices: Array<DecimationVertex>;