Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@hscmap/gl-wrapper

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hscmap/gl-wrapper - npm Package Compare versions

Comparing version 0.6.2 to 0.7.0

3

lib/program.d.ts

@@ -36,2 +36,5 @@ import { AttribList } from './attrib_list';

}): void;
uniform2fv(vars: {
[name: string]: number[];
}): void;
uniform3fv(vars: {

@@ -38,0 +41,0 @@ [name: string]: number[];

13

lib/program.js

@@ -102,12 +102,17 @@ "use strict";

};
Program.prototype.uniform3fv = function (vars) {
Program.prototype.uniform2fv = function (vars) {
for (var name_6 in vars) {
this.gl.uniform3fv(this.uniformLocation(name_6), vars[name_6]);
this.gl.uniform2fv(this.uniformLocation(name_6), vars[name_6]);
}
};
Program.prototype.uniform4fv = function (vars) {
Program.prototype.uniform3fv = function (vars) {
for (var name_7 in vars) {
this.gl.uniform4fv(this.uniformLocation(name_7), vars[name_7]);
this.gl.uniform3fv(this.uniformLocation(name_7), vars[name_7]);
}
};
Program.prototype.uniform4fv = function (vars) {
for (var name_8 in vars) {
this.gl.uniform4fv(this.uniformLocation(name_8), vars[name_8]);
}
};
Program.prototype.createShader = function (source, type) {

@@ -114,0 +119,0 @@ var shader = this.gl.createShader(type);

{
"name": "@hscmap/gl-wrapper",
"version": "0.6.2",
"version": "0.7.0",
"main": "./lib/index.js",

@@ -5,0 +5,0 @@ "types": "./lib/index.d.ts",

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