Comparing version 4.21.2 to 4.22.0
@@ -71,2 +71,3 @@ | ||
target?: number; | ||
samples?: number; | ||
level?: number; | ||
@@ -73,0 +74,0 @@ layer?: number; |
@@ -71,2 +71,3 @@ | ||
target?: number; | ||
samples?: number; | ||
level?: number; | ||
@@ -73,0 +74,0 @@ layer?: number; |
{ | ||
"name": "twgl.js", | ||
"version": "4.21.2", | ||
"version": "4.22.0", | ||
"description": "A Tiny WebGL helper library", | ||
@@ -10,4 +10,3 @@ "main": "dist/4.x/twgl-full.js", | ||
"check-ci": "npm run lint && npm run build && npm test", | ||
"test": "npm run testjs && npm run testts && npm run testbrowser", | ||
"testjs": "node node_modules/mocha/bin/mocha --recursive 'test/src/js/*-harness.js'", | ||
"test": "npm run testts && npm run testbrowser", | ||
"testts": "tsc --project test/src/ts/", | ||
@@ -77,3 +76,2 @@ "testbrowser": "node test/puppeteer.js", | ||
"minami": "^1.2.3", | ||
"mocha": "^8.1.3", | ||
"puppeteer": "^10.4.0", | ||
@@ -84,3 +82,2 @@ "requirejs": "^2.3.5", | ||
"servez": "^1.10.0", | ||
"should": "^13.2.0", | ||
"terser-webpack-plugin": "^4.2.2", | ||
@@ -87,0 +84,0 @@ "tsd-jsdoc": "^2.1.2", |
@@ -430,3 +430,3 @@ TWGL: A Tiny WebGL helper Library<div id="pronounce" style="font-size: xx-small;">[rhymes with wiggle]</div> | ||
twgl.setUniforms(progInfo, { | ||
lights[1]: { intensity: 5.0, shininess: 100, color: [1, 0, 0, 1] }, | ||
'lights[1]': { intensity: 5.0, shininess: 100, color: [1, 0, 0, 1] }, | ||
}); | ||
@@ -433,0 +433,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 too big to display
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
1049428
36
25897