Package Exports
- vdb-js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (vdb-js) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
vdb-js
JavaScript implementation of OpenVDB.
Usage
JavaScript
let vdb = require('vdb-js');
let grid = new vdb.Grid(-1);
let accessor = grid.getAccessor();
accessor.setValueOn([0, 0, 0], 42);
accessor.getValue([0, 0, 0]); // 42TypeScript
import { Grid } from 'vdb-js';
const grid = new Grid(-1);
const accessor = grid.getAccessor();
accessor.setValueOn([0, 0, 0], 42);
accessor.getValue([0, 0, 0]); // 42Publish
npm loginyarn nx build vdbcd ./dist/libs/vdbnpm publish