Socket
Socket
Sign inDemoInstall

twgl.js

Package Overview
Dependencies
Maintainers
1
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

twgl.js - npm Package Compare versions

Comparing version 4.19.1 to 4.19.2

4

dist/4.x/twgl-full.d.ts

@@ -73,7 +73,7 @@

layer?: number;
attachment?: WebGLObject;
attachment?: WebGLRenderbuffer | WebGLTexture;
};
export type FramebufferInfo = {
framebuffer: WebGLFramebuffer;
attachments: WebGLObject[];
attachments: (WebGLRenderbuffer | WebGLTexture)[];
width: number;

@@ -80,0 +80,0 @@ height: number;

@@ -73,7 +73,7 @@

layer?: number;
attachment?: WebGLObject;
attachment?: WebGLRenderbuffer | WebGLTexture;
};
export type FramebufferInfo = {
framebuffer: WebGLFramebuffer;
attachments: WebGLObject[];
attachments: (WebGLRenderbuffer | WebGLTexture)[];
width: number;

@@ -80,0 +80,0 @@ height: number;

{
"name": "twgl.js",
"version": "4.19.1",
"version": "4.19.2",
"description": "A Tiny WebGL helper library",

@@ -29,3 +29,5 @@ "main": "dist/4.x/twgl-full.js",

"WebGL",
"twgl"
"twgl",
"util",
"helper"
],

@@ -32,0 +34,0 @@ "author": "Greggman",

@@ -321,3 +321,3 @@ TWGL: A Tiny WebGL helper Library<div id="pronounce" style="font-size: xx-small;">[rhymes with wiggle]</div>

gl.bindTexture(gl.TEXTURE_2D, tex);
gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, gl.RGBA, gl.UNSIGNED_BYTE, new Uint8Array([
gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, 2, 2, 0, gl.RGBA, gl.UNSIGNED_BYTE, new Uint8Array([
255,255,255,255,

@@ -335,3 +335,3 @@ 192,192,192,255,

gl.pixelStorei(gl.UNPACK_ALIGNMENT, 1);
gl.texImage2D(gl.TEXTURE_2D, 0, gl.LUMINANCE, gl.LUMINANCE, gl.UNSIGNED_BYTE, new Uint8Array([
gl.texImage2D(gl.TEXTURE_2D, 0, gl.LUMINANCE, 1, 8, 0, gl.LUMINANCE, gl.UNSIGNED_BYTE, new Uint8Array([
255,

@@ -338,0 +338,0 @@ 128,

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc