@luma.gl/engine
Advanced tools
Comparing version 8.0.0-beta.2 to 8.0.0-beta.3
@@ -146,3 +146,20 @@ "use strict"; | ||
value: function setProgram(props) { | ||
this.programProps = Object.assign({}, props); | ||
var program = props.program, | ||
vs = props.vs, | ||
fs = props.fs, | ||
modules = props.modules, | ||
defines = props.defines, | ||
inject = props.inject, | ||
varyings = props.varyings, | ||
bufferMode = props.bufferMode; | ||
this.programProps = { | ||
program: program, | ||
vs: vs, | ||
fs: fs, | ||
modules: modules, | ||
defines: defines, | ||
inject: inject, | ||
varyings: varyings, | ||
bufferMode: bufferMode | ||
}; | ||
this._programDirty = true; | ||
@@ -149,0 +166,0 @@ } |
@@ -117,3 +117,22 @@ import { isWebGL } from '@luma.gl/gltools'; | ||
setProgram(props) { | ||
this.programProps = Object.assign({}, props); | ||
const { | ||
program, | ||
vs, | ||
fs, | ||
modules, | ||
defines, | ||
inject, | ||
varyings, | ||
bufferMode | ||
} = props; | ||
this.programProps = { | ||
program, | ||
vs, | ||
fs, | ||
modules, | ||
defines, | ||
inject, | ||
varyings, | ||
bufferMode | ||
}; | ||
this._programDirty = true; | ||
@@ -120,0 +139,0 @@ } |
@@ -133,3 +133,20 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; | ||
value: function setProgram(props) { | ||
this.programProps = Object.assign({}, props); | ||
var program = props.program, | ||
vs = props.vs, | ||
fs = props.fs, | ||
modules = props.modules, | ||
defines = props.defines, | ||
inject = props.inject, | ||
varyings = props.varyings, | ||
bufferMode = props.bufferMode; | ||
this.programProps = { | ||
program: program, | ||
vs: vs, | ||
fs: fs, | ||
modules: modules, | ||
defines: defines, | ||
inject: inject, | ||
varyings: varyings, | ||
bufferMode: bufferMode | ||
}; | ||
this._programDirty = true; | ||
@@ -136,0 +153,0 @@ } |
{ | ||
"name": "@luma.gl/engine", | ||
"version": "8.0.0-beta.2", | ||
"version": "8.0.0-beta.3", | ||
"description": "WebGL2 Components for High Performance Rendering and Computation", | ||
@@ -34,10 +34,10 @@ "license": "MIT", | ||
"@babel/runtime": "^7.0.0", | ||
"@luma.gl/constants": "8.0.0-beta.2", | ||
"@luma.gl/gltools": "8.0.0-beta.2", | ||
"@luma.gl/shadertools": "8.0.0-beta.2", | ||
"@luma.gl/webgl": "8.0.0-beta.2", | ||
"@luma.gl/constants": "8.0.0-beta.3", | ||
"@luma.gl/gltools": "8.0.0-beta.3", | ||
"@luma.gl/shadertools": "8.0.0-beta.3", | ||
"@luma.gl/webgl": "8.0.0-beta.3", | ||
"math.gl": "^3.0.0", | ||
"probe.gl": "^3.2.0-beta.3" | ||
}, | ||
"gitHead": "3f15fc4b59555ed2cc2b237824a1ff50eccd4af3" | ||
"gitHead": "7bff9e2cd189aa8d417f2ef32f4673c1c2026647" | ||
} |
@@ -146,3 +146,4 @@ /* eslint-disable complexity */ | ||
setProgram(props) { | ||
this.programProps = Object.assign({}, props); | ||
const {program, vs, fs, modules, defines, inject, varyings, bufferMode} = props; | ||
this.programProps = {program, vs, fs, modules, defines, inject, varyings, bufferMode}; | ||
this._programDirty = true; | ||
@@ -149,0 +150,0 @@ } |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
2449300
40412
0
+ Added@luma.gl/constants@8.0.0-beta.3(transitive)
+ Added@luma.gl/gltools@8.0.0-beta.3(transitive)
+ Added@luma.gl/shadertools@8.0.0-beta.3(transitive)
+ Added@luma.gl/webgl@8.0.0-beta.3(transitive)
- Removed@luma.gl/constants@8.0.0-beta.2(transitive)
- Removed@luma.gl/gltools@8.0.0-beta.2(transitive)
- Removed@luma.gl/shadertools@8.0.0-beta.2(transitive)
- Removed@luma.gl/webgl@8.0.0-beta.2(transitive)
Updated@luma.gl/webgl@8.0.0-beta.3