Comparing version 1.3.9 to 1.3.10
@@ -0,0 +0,0 @@ var Stream = require('stream') |
@@ -0,0 +0,0 @@ # Release notes |
@@ -0,0 +0,0 @@ # A developer's guide to regl |
@@ -0,0 +0,0 @@ var GL_FLOAT = 5126 |
@@ -0,0 +0,0 @@ var check = require('./util/check') |
@@ -0,0 +0,0 @@ { |
@@ -0,0 +0,0 @@ { |
@@ -0,0 +0,0 @@ { |
@@ -0,0 +0,0 @@ { |
@@ -0,0 +0,0 @@ var VARIABLE_COUNTER = 0 |
@@ -0,0 +0,0 @@ var check = require('./util/check') |
@@ -0,0 +0,0 @@ var check = require('./util/check') |
@@ -258,4 +258,4 @@ var check = require('./util/check') | ||
} | ||
attachment.width = w; | ||
attachment.height = h; | ||
attachment.width = w | ||
attachment.height = h | ||
} | ||
@@ -262,0 +262,0 @@ } |
@@ -95,13 +95,18 @@ var pool = require('./util/pool') | ||
// detect non power of two cube textures support (IE doesn't support) | ||
var isIE = typeof navigator !== 'undefined' && (/MSIE/.test(navigator.userAgent) || /Trident\//.test(navigator.appVersion) || /Edge/.test(navigator.userAgent)) | ||
var npotTextureCube = true | ||
var cubeTexture = gl.createTexture() | ||
var data = pool.allocType(GL_UNSIGNED_BYTE, 36) | ||
gl.activeTexture(GL_TEXTURE0) | ||
gl.bindTexture(GL_TEXTURE_CUBE_MAP, cubeTexture) | ||
gl.texImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, 0, GL_RGBA, 3, 3, 0, GL_RGBA, GL_UNSIGNED_BYTE, data) | ||
pool.freeType(data) | ||
gl.bindTexture(GL_TEXTURE_CUBE_MAP, null) | ||
gl.deleteTexture(cubeTexture) | ||
npotTextureCube = !gl.getError() | ||
if (!isIE) { | ||
var cubeTexture = gl.createTexture() | ||
var data = pool.allocType(GL_UNSIGNED_BYTE, 36) | ||
gl.activeTexture(GL_TEXTURE0) | ||
gl.bindTexture(GL_TEXTURE_CUBE_MAP, cubeTexture) | ||
gl.texImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, 0, GL_RGBA, 3, 3, 0, GL_RGBA, GL_UNSIGNED_BYTE, data) | ||
pool.freeType(data) | ||
gl.bindTexture(GL_TEXTURE_CUBE_MAP, null) | ||
gl.deleteTexture(cubeTexture) | ||
npotTextureCube = !gl.getError() | ||
} | ||
return { | ||
@@ -108,0 +113,0 @@ // drawing buffer bit depth |
@@ -0,0 +0,0 @@ var check = require('./util/check') |
@@ -0,0 +0,0 @@ var check = require('./util/check') |
@@ -0,0 +0,0 @@ var check = require('./util/check') |
@@ -0,0 +0,0 @@ |
@@ -0,0 +0,0 @@ module.exports = function createStringStore () { |
@@ -1618,8 +1618,8 @@ var check = require('./util/check') | ||
if (tex) { | ||
tex.bindCount = 0; | ||
tex.unit = -1; | ||
textureUnits[i] = null; | ||
tex.bindCount = 0 | ||
tex.unit = -1 | ||
textureUnits[i] = null | ||
} | ||
} | ||
values(textureSet).forEach(function (texture) { | ||
@@ -1626,0 +1626,0 @@ texture.texture = gl.createTexture() |
@@ -0,0 +0,0 @@ var GL_QUERY_RESULT_EXT = 0x8866 |
@@ -0,0 +0,0 @@ // Error checking and parameter validation. |
@@ -0,0 +0,0 @@ /* globals performance */ |
@@ -0,0 +0,0 @@ var extend = require('./extend') |
@@ -0,0 +0,0 @@ module.exports = function (base, opts) { |
@@ -0,0 +0,0 @@ var pool = require('./pool') |
@@ -0,0 +0,0 @@ var isTypedArray = require('./is-typed-array') |
@@ -0,0 +0,0 @@ var isTypedArray = require('./is-typed-array') |
module.exports = function (v) { | ||
return !(v & (v - 1)) && (!!v) | ||
} |
@@ -0,0 +0,0 @@ module.exports = function (x) { |
@@ -0,0 +0,0 @@ module.exports = function loop (n, f) { |
@@ -0,0 +0,0 @@ var loop = require('./loop') |
@@ -0,0 +0,0 @@ /* globals requestAnimationFrame, cancelAnimationFrame */ |
@@ -0,0 +0,0 @@ var pool = require('./pool') |
module.exports = function (obj) { | ||
return Object.keys(obj).map(function (key) { return obj[key] }) | ||
} |
@@ -0,0 +0,0 @@ // Context and canvas creation helper functions |
{ | ||
"name": "regl", | ||
"version": "1.3.9", | ||
"version": "1.3.10", | ||
"description": "regl is a fast functional WebGL framework.", | ||
@@ -5,0 +5,0 @@ "main": "dist/regl.js", |
<div align="center"> | ||
:crown: | ||
👑 | ||
</div> | ||
@@ -4,0 +4,0 @@ <h1 align="center"> |
@@ -0,0 +0,0 @@ var check = require('./lib/util/check') |
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
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
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
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
1154328
27445
48
2