@babylonjs/core 7.7.1 → 7.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Animations/animatable.js +1 -1
- package/Animations/animatable.js.map +1 -1
- package/Animations/runtimeAnimation.d.ts +2 -1
- package/Animations/runtimeAnimation.js +3 -2
- package/Animations/runtimeAnimation.js.map +1 -1
- package/Engines/IPipelineContext.d.ts +5 -5
- package/Engines/IPipelineContext.js.map +1 -1
- package/Engines/Native/nativeInterfaces.d.ts +6 -1
- package/Engines/Native/nativeInterfaces.js.map +1 -1
- package/Engines/abstractEngine.js +2 -2
- package/Engines/abstractEngine.js.map +1 -1
- package/Engines/nativeEngine.js +4 -1
- package/Engines/nativeEngine.js.map +1 -1
- package/Engines/thinEngine.d.ts +4 -4
- package/Engines/thinEngine.js.map +1 -1
- package/Meshes/GaussianSplatting/gaussianSplattingMesh.js.map +1 -1
- package/Meshes/GreasedLine/greasedLineMesh.js.map +1 -1
- package/Particles/solidParticleSystem.d.ts +5 -5
- package/Particles/solidParticleSystem.js.map +1 -1
- package/assets/Draco/draco_decoder.js +2 -0
- package/assets/Draco/draco_wasm_wrapper.js +1 -1
- package/assets/Draco/draco_wasm_wrapper_gltf.js +1 -1
- package/package.json +1 -1
package/Engines/nativeEngine.js
CHANGED
|
@@ -124,7 +124,10 @@ export class NativeEngine extends Engine {
|
|
|
124
124
|
}
|
|
125
125
|
constructor(options = {}) {
|
|
126
126
|
super(null, false, undefined, options.adaptToDeviceRatio);
|
|
127
|
-
this._engine = new _native.Engine(
|
|
127
|
+
this._engine = new _native.Engine({
|
|
128
|
+
version: Engine.Version,
|
|
129
|
+
nonFloatVertexBuffers: true,
|
|
130
|
+
});
|
|
128
131
|
this._camera = _native.Camera ? new _native.Camera() : null;
|
|
129
132
|
this._commandBufferEncoder = new CommandBufferEncoder(this._engine);
|
|
130
133
|
this._boundBuffersVertexArray = null;
|