UNPKG

@ccp-nc/crystvis-js

Version:

A Three.js based crystallographic visualisation tool

19 lines (14 loc) 444 B
'use strict'; // This file is used because there's a need to add some global namespace // variables to make these packages work... // it's ugly but there's no way out, it seems. import * as THREE from 'three'; import loadFontRaw from 'load-bmfont'; const loadFont = function(fntfile, callback) { loadFontRaw(fntfile, callback); }; import createGeometry from '@jkshenton/three-bmfont-text'; export { loadFont, createGeometry }