context.ts 320 B

123456789101112
  1. /**
  2. * Copyright (c) 2018 mol* contributors, licensed under MIT, See LICENSE file for more info.
  3. *
  4. * @author Alexander Rose <alexander.rose@weirdbyte.de>
  5. */
  6. import REGL = require('regl');
  7. import { InitializationOptions } from 'regl'
  8. export function create(params: InitializationOptions) {
  9. return REGL(params)
  10. }