UNPKG
weblas
Version:
latest (0.9.1)
0.9.1
0.9.0
0.8.0
GPU accelerated BLAS for node and the browser
github.com/waylonflinn/weblas
waylonflinn/weblas
weblas
/
lib
/
globals.js
14 lines
(11 loc)
•
164 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
var
WebGL
=
require
(
"./webgl"
);
var
gl;
try
{ gl =
new
WebGL
(); }
catch
(e){ gl =
null
;
console
.
log
(
'No support for WebGL!'
); }
module
.
exports
= {
"gl"
: gl }