Socket
Socket
Sign inDemoInstall

webgl-framework

Package Overview
Dependencies
1
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.3 to 2.1.4

6

dist/lib/FullModel.js

@@ -23,4 +23,6 @@ "use strict";

async load(url, gl) {
const dataIndices = await BinaryDataLoader_1.BinaryDataLoader.load(url + "-indices.bin");
const dataStrides = await BinaryDataLoader_1.BinaryDataLoader.load(url + "-strides.bin");
const [dataIndices, dataStrides] = await Promise.all([
BinaryDataLoader_1.BinaryDataLoader.load(`${url}-indices.bin`),
BinaryDataLoader_1.BinaryDataLoader.load(`${url}-strides.bin`)
]);
console.log(`Loaded ${url}-indices.bin (${dataIndices.byteLength} bytes)`);

@@ -27,0 +29,0 @@ console.log(`Loaded ${url}-strides.bin (${dataStrides.byteLength} bytes)`);

@@ -162,4 +162,6 @@ class FullScreenUtils {

async load(url, gl) {
const dataIndices = await BinaryDataLoader.load(url + "-indices.bin");
const dataStrides = await BinaryDataLoader.load(url + "-strides.bin");
const [dataIndices, dataStrides] = await Promise.all([
BinaryDataLoader.load(`${url}-indices.bin`),
BinaryDataLoader.load(`${url}-strides.bin`)
]);
console.log(`Loaded ${url}-indices.bin (${dataIndices.byteLength} bytes)`);

@@ -166,0 +168,0 @@ console.log(`Loaded ${url}-strides.bin (${dataStrides.byteLength} bytes)`);

@@ -168,4 +168,6 @@ (function (global, factory) {

async load(url, gl) {
const dataIndices = await BinaryDataLoader.load(url + "-indices.bin");
const dataStrides = await BinaryDataLoader.load(url + "-strides.bin");
const [dataIndices, dataStrides] = await Promise.all([
BinaryDataLoader.load(`${url}-indices.bin`),
BinaryDataLoader.load(`${url}-strides.bin`)
]);
console.log(`Loaded ${url}-indices.bin (${dataIndices.byteLength} bytes)`);

@@ -172,0 +174,0 @@ console.log(`Loaded ${url}-strides.bin (${dataStrides.byteLength} bytes)`);

{
"name": "webgl-framework",
"version": "2.1.3",
"version": "2.1.4",
"description": "Basic low-level WebGL framework",

@@ -5,0 +5,0 @@ "author": "Oleksandr Popov (github.com/keaukraine/)",

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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc