@luma.gl/engine
Advanced tools
Comparing version 9.0.0-alpha.40 to 9.0.0-alpha.41
@@ -158,3 +158,6 @@ import { RenderPipeline, log, uid, deepEqual } from '@luma.gl/core'; | ||
const uniforms = this._getModuleUniforms(props); | ||
const keys = Object.keys(uniforms).filter(k => uniforms[k].constructor.name.includes('WEBGL')); | ||
const keys = Object.keys(uniforms).filter(k => { | ||
const uniform = uniforms[k]; | ||
return !Array.isArray(uniform) && typeof uniform !== 'number' && typeof uniform !== 'boolean'; | ||
}); | ||
const bindings = {}; | ||
@@ -161,0 +164,0 @@ for (const k of keys) { |
{ | ||
"name": "@luma.gl/engine", | ||
"version": "9.0.0-alpha.40", | ||
"version": "9.0.0-alpha.41", | ||
"description": "WebGL2 Components for High Performance Rendering and Computation", | ||
@@ -43,5 +43,5 @@ "type": "module", | ||
"@babel/runtime": "^7.0.0", | ||
"@luma.gl/constants": "9.0.0-alpha.40", | ||
"@luma.gl/core": "9.0.0-alpha.40", | ||
"@luma.gl/shadertools": "9.0.0-alpha.40", | ||
"@luma.gl/constants": "9.0.0-alpha.41", | ||
"@luma.gl/core": "9.0.0-alpha.41", | ||
"@luma.gl/shadertools": "9.0.0-alpha.41", | ||
"@math.gl/core": "^4.0.0", | ||
@@ -51,3 +51,3 @@ "@probe.gl/log": "^4.0.2", | ||
}, | ||
"gitHead": "5a6f2bc7a4d24a65b74ae905844ad5bfc36c5645" | ||
"gitHead": "e8a5f47c6890d0b1883979c09114676b8fa90cc6" | ||
} |
@@ -351,3 +351,6 @@ // luma.gl, MIT license | ||
// TODO better way to extract bindings | ||
const keys = Object.keys(uniforms).filter(k => uniforms[k].constructor.name.includes('WEBGL')); | ||
const keys = Object.keys(uniforms).filter(k => { | ||
const uniform = uniforms[k]; | ||
return !Array.isArray(uniform) && (typeof uniform !== 'number') && (typeof uniform !== 'boolean'); | ||
}); | ||
const bindings: Record<string, Binding> = {}; | ||
@@ -354,0 +357,0 @@ for (const k of keys) { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
908435
141
16715
+ Added@luma.gl/constants@9.0.0-alpha.41(transitive)
+ Added@luma.gl/core@9.0.0-alpha.41(transitive)
+ Added@luma.gl/shadertools@9.0.0-alpha.41(transitive)
- Removed@luma.gl/constants@9.0.0-alpha.40(transitive)
- Removed@luma.gl/core@9.0.0-alpha.40(transitive)
- Removed@luma.gl/shadertools@9.0.0-alpha.40(transitive)
Updated@luma.gl/core@9.0.0-alpha.41