@loaders.gl/gltf
Advanced tools
Comparing version 0.5.4 to 0.6.1
@@ -35,6 +35,6 @@ "use strict"; | ||
extension: ['gltf', 'glb'], | ||
parseText: parseTextGLTF, | ||
parseBinary: parseBinaryGLTF | ||
parseTextSync: parseTextGLTF, | ||
parseSync: parseBinaryGLTF | ||
}; | ||
exports.default = _default; | ||
//# sourceMappingURL=gltf-loader.js.map |
@@ -10,4 +10,2 @@ "use strict"; | ||
var _core = require("@loaders.gl/core"); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -23,3 +21,2 @@ | ||
extension: 'glb', | ||
writeToFile: _core.saveBinaryFile, | ||
// TODO - encode standard format? Encode mesh to binary? | ||
@@ -26,0 +23,0 @@ encodeToBinary: encodeGLB |
@@ -20,5 +20,5 @@ // Binary container format for glTF | ||
extension: ['gltf', 'glb'], | ||
parseText: parseTextGLTF, | ||
parseBinary: parseBinaryGLTF | ||
parseTextSync: parseTextGLTF, | ||
parseSync: parseBinaryGLTF | ||
}; | ||
//# sourceMappingURL=gltf-loader.js.map |
import GLTFBuilder from './gltf-builder'; | ||
import { saveBinaryFile } from '@loaders.gl/core'; | ||
@@ -12,3 +11,2 @@ function encodeGLB(json, options) { | ||
extension: 'glb', | ||
writeToFile: saveBinaryFile, | ||
// TODO - encode standard format? Encode mesh to binary? | ||
@@ -15,0 +13,0 @@ encodeToBinary: encodeGLB |
@@ -20,5 +20,5 @@ // Binary container format for glTF | ||
extension: ['gltf', 'glb'], | ||
parseText: parseTextGLTF, | ||
parseBinary: parseBinaryGLTF | ||
parseTextSync: parseTextGLTF, | ||
parseSync: parseBinaryGLTF | ||
}; | ||
//# sourceMappingURL=gltf-loader.js.map |
import GLTFBuilder from './gltf-builder'; | ||
import { saveBinaryFile } from '@loaders.gl/core'; | ||
@@ -12,3 +11,2 @@ function encodeGLB(json, options) { | ||
extension: 'glb', | ||
writeToFile: saveBinaryFile, | ||
// TODO - encode standard format? Encode mesh to binary? | ||
@@ -15,0 +13,0 @@ encodeToBinary: encodeGLB |
{ | ||
"name": "@loaders.gl/gltf", | ||
"version": "0.5.4", | ||
"version": "0.6.1", | ||
"description": "Framework-independent loader for the glTF format", | ||
@@ -43,4 +43,4 @@ "license": "MIT", | ||
"dependencies": { | ||
"@loaders.gl/core": "^0.5.4" | ||
"@loaders.gl/core": "^0.6.1" | ||
} | ||
} |
@@ -18,4 +18,4 @@ // Binary container format for glTF | ||
extension: ['gltf', 'glb'], | ||
parseText: parseTextGLTF, | ||
parseBinary: parseBinaryGLTF | ||
parseTextSync: parseTextGLTF, | ||
parseSync: parseBinaryGLTF | ||
}; |
import GLTFBuilder from './gltf-builder'; | ||
import {saveBinaryFile} from '@loaders.gl/core'; | ||
@@ -12,5 +11,4 @@ function encodeGLB(json, options) { | ||
extension: 'glb', | ||
writeToFile: saveBinaryFile, | ||
// TODO - encode standard format? Encode mesh to binary? | ||
encodeToBinary: encodeGLB | ||
}; |
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
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
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
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
504981
5385
+ Added@loaders.gl/core@0.6.2(transitive)
- Removed@loaders.gl/core@0.5.4(transitive)
Updated@loaders.gl/core@^0.6.1