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

@loaders.gl/math

Package Overview
Dependencies
Maintainers
9
Versions
315
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@loaders.gl/math - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

dist/es5/geometry/colors/rgb565.js

100

dist/es5/geometry/index.js

@@ -50,2 +50,14 @@ "use strict";

});
Object.defineProperty(exports, "encodeRGB565", {
enumerable: true,
get: function get() {
return _rgb.encodeRGB565;
}
});
Object.defineProperty(exports, "decodeRGB565", {
enumerable: true,
get: function get() {
return _rgb.decodeRGB565;
}
});
Object.defineProperty(exports, "concatTypedArrays", {

@@ -57,2 +69,86 @@ enumerable: true,

});
Object.defineProperty(exports, "octEncodeInRange", {
enumerable: true,
get: function get() {
return _attributeCompression.octEncodeInRange;
}
});
Object.defineProperty(exports, "octEncode", {
enumerable: true,
get: function get() {
return _attributeCompression.octEncode;
}
});
Object.defineProperty(exports, "octEncodeToVector4", {
enumerable: true,
get: function get() {
return _attributeCompression.octEncodeToVector4;
}
});
Object.defineProperty(exports, "octDecodeInRange", {
enumerable: true,
get: function get() {
return _attributeCompression.octDecodeInRange;
}
});
Object.defineProperty(exports, "octDecode", {
enumerable: true,
get: function get() {
return _attributeCompression.octDecode;
}
});
Object.defineProperty(exports, "octDecodeFromVector4", {
enumerable: true,
get: function get() {
return _attributeCompression.octDecodeFromVector4;
}
});
Object.defineProperty(exports, "octPackFloat", {
enumerable: true,
get: function get() {
return _attributeCompression.octPackFloat;
}
});
Object.defineProperty(exports, "octEncodeFloat", {
enumerable: true,
get: function get() {
return _attributeCompression.octEncodeFloat;
}
});
Object.defineProperty(exports, "octDecodeFloat", {
enumerable: true,
get: function get() {
return _attributeCompression.octDecodeFloat;
}
});
Object.defineProperty(exports, "octPack", {
enumerable: true,
get: function get() {
return _attributeCompression.octPack;
}
});
Object.defineProperty(exports, "octUnpack", {
enumerable: true,
get: function get() {
return _attributeCompression.octUnpack;
}
});
Object.defineProperty(exports, "compressTextureCoordinates", {
enumerable: true,
get: function get() {
return _attributeCompression.compressTextureCoordinates;
}
});
Object.defineProperty(exports, "decompressTextureCoordinates", {
enumerable: true,
get: function get() {
return _attributeCompression.decompressTextureCoordinates;
}
});
Object.defineProperty(exports, "zigZagDeltaDecode", {
enumerable: true,
get: function get() {
return _attributeCompression.zigZagDeltaDecode;
}
});

@@ -71,3 +167,7 @@ var _constants = require("./constants");

var _rgb = require("./colors/rgb565");
var _typedArrayUtils = require("./typed-arrays/typed-array-utils");
var _attributeCompression = require("./compression/attribute-compression");
//# sourceMappingURL=index.js.map

2

dist/es6/geometry/index.js

@@ -8,3 +8,5 @@ export { GL } from './constants';

export { default as computeVertexNormals } from './attributes/compute-vertex-normals';
export { encodeRGB565, decodeRGB565 } from './colors/rgb565';
export { concatTypedArrays } from './typed-arrays/typed-array-utils';
export { octEncodeInRange, octEncode, octEncodeToVector4, octDecodeInRange, octDecode, octDecodeFromVector4, octPackFloat, octEncodeFloat, octDecodeFloat, octPack, octUnpack, compressTextureCoordinates, decompressTextureCoordinates, zigZagDeltaDecode } from './compression/attribute-compression';
//# sourceMappingURL=index.js.map

@@ -8,3 +8,5 @@ export { GL } from './constants';

export { default as computeVertexNormals } from './attributes/compute-vertex-normals';
export { encodeRGB565, decodeRGB565 } from './colors/rgb565';
export { concatTypedArrays } from './typed-arrays/typed-array-utils';
export { octEncodeInRange, octEncode, octEncodeToVector4, octDecodeInRange, octDecode, octDecodeFromVector4, octPackFloat, octEncodeFloat, octDecodeFloat, octPack, octUnpack, compressTextureCoordinates, decompressTextureCoordinates, zigZagDeltaDecode } from './compression/attribute-compression';
//# sourceMappingURL=index.js.map

8

package.json
{
"name": "@loaders.gl/math",
"version": "1.2.1",
"version": "1.2.2",
"description": "Experimental math classes for loaders.gl",

@@ -34,6 +34,6 @@ "license": "MIT",

"dependencies": {
"@loaders.gl/core": "1.2.1",
"@loaders.gl/images": "1.2.1"
"@loaders.gl/images": "1.2.2",
"math.gl": "^3.0.0-beta.2"
},
"gitHead": "fc4f9cef05d6f379a1f22657ed84d1e6acb0bd21"
"gitHead": "c8bd2fef7bc686e5cf2ae68926f2ee51d95b50cf"
}

@@ -17,3 +17,23 @@ export {GL} from './constants';

export {encodeRGB565, decodeRGB565} from './colors/rgb565';
// Typed array utils
export {concatTypedArrays} from './typed-arrays/typed-array-utils';
// Compression
export {
octEncodeInRange,
octEncode,
octEncodeToVector4,
octDecodeInRange,
octDecode,
octDecodeFromVector4,
octPackFloat,
octEncodeFloat,
octDecodeFloat,
octPack,
octUnpack,
compressTextureCoordinates,
decompressTextureCoordinates,
zigZagDeltaDecode
} from './compression/attribute-compression';

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc