@luma.gl/engine 9.0.7 → 9.0.9
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/dist/dist.dev.js +251 -104
- package/dist/dist.min.js +8 -8
- package/dist/index.cjs +0 -1
- package/dist/index.cjs.map +2 -2
- package/dist/model/model.js +1 -1
- package/dist/transform/buffer-transform.d.ts +1 -1
- package/dist/transform/buffer-transform.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/model/model.ts +1 -1
- package/src/transform/buffer-transform.ts +1 -1
package/dist/model/model.js
CHANGED
|
@@ -454,7 +454,7 @@ export class Model {
|
|
|
454
454
|
* @deprecated Updates shader module settings (which results in uniforms being set)
|
|
455
455
|
*/
|
|
456
456
|
updateModuleSettings(props) {
|
|
457
|
-
log.warn('Model.updateModuleSettings is deprecated. Use Model.shaderInputs.setProps()')();
|
|
457
|
+
// log.warn('Model.updateModuleSettings is deprecated. Use Model.shaderInputs.setProps()')();
|
|
458
458
|
const { bindings, uniforms } = splitUniformsAndBindings(this._getModuleUniforms(props));
|
|
459
459
|
Object.assign(this.bindings, bindings);
|
|
460
460
|
Object.assign(this.uniforms, uniforms);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Device, Buffer, BufferRange, TransformFeedback, RenderPassProps } from '@luma.gl/core';
|
|
2
2
|
import { Model } from "../model/model.js";
|
|
3
|
-
import type { ModelProps } from
|
|
3
|
+
import type { ModelProps } from "../model/model.js";
|
|
4
4
|
/**
|
|
5
5
|
* Properties for creating a {@link BufferTransform}
|
|
6
6
|
* @deprecated
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buffer-transform.d.ts","sourceRoot":"","sources":["../../src/transform/buffer-transform.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,MAAM,EACN,MAAM,EACN,WAAW,EACX,iBAAiB,EAEjB,eAAe,EAChB,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAC,KAAK,EAAC,0BAAuB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package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luma.gl/engine",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.9",
|
|
4
4
|
"description": "3D Engine Components for luma.gl",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -43,10 +43,10 @@
|
|
|
43
43
|
"@luma.gl/core": "^9.0.0"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@luma.gl/shadertools": "9.0.
|
|
46
|
+
"@luma.gl/shadertools": "9.0.9",
|
|
47
47
|
"@math.gl/core": "^4.0.0",
|
|
48
48
|
"@probe.gl/log": "^4.0.2",
|
|
49
49
|
"@probe.gl/stats": "^4.0.2"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "1715a33d52c6d23227cd3f62e163a40ea9acec9e"
|
|
52
52
|
}
|
package/src/model/model.ts
CHANGED
|
@@ -595,7 +595,7 @@ export class Model {
|
|
|
595
595
|
* @deprecated Updates shader module settings (which results in uniforms being set)
|
|
596
596
|
*/
|
|
597
597
|
updateModuleSettings(props: Record<string, any>): void {
|
|
598
|
-
log.warn('Model.updateModuleSettings is deprecated. Use Model.shaderInputs.setProps()')();
|
|
598
|
+
// log.warn('Model.updateModuleSettings is deprecated. Use Model.shaderInputs.setProps()')();
|
|
599
599
|
const {bindings, uniforms} = splitUniformsAndBindings(this._getModuleUniforms(props));
|
|
600
600
|
Object.assign(this.bindings, bindings);
|
|
601
601
|
Object.assign(this.uniforms, uniforms);
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from '@luma.gl/core';
|
|
13
13
|
import {getPassthroughFS} from '@luma.gl/shadertools';
|
|
14
14
|
import {Model} from '../model/model';
|
|
15
|
-
import type {ModelProps} from '
|
|
15
|
+
import type {ModelProps} from '../model/model';
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* Properties for creating a {@link BufferTransform}
|