loaders.gl
Version:
Framework-independent loaders for 3D graphics formats
30 lines (26 loc) • 792 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _parsePly = _interopRequireDefault(require("./parse-ply"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
// description: 'PLY - Polygon File Format (aka Stanford Triangle Format)'
// links: ['http://paulbourke.net/dataformats/ply/',
// 'https://en.wikipedia.org/wiki/PLY_(file_format)']
var DEFAULT_OPTIONS = {
normalize: true,
faceNormal: true,
vertexNormal: true,
flip: true
};
var _default = {
name: 'PLY',
extension: 'ply',
format: 'text',
parseBinary: _parsePly.default,
parseText: _parsePly.default,
DEFAULT_OPTIONS: DEFAULT_OPTIONS
};
exports.default = _default;
//# sourceMappingURL=ply-loader.js.map