Uncaught TypeError: Cannot read property 'useProgram' of undefined (fisheye: line 299)
immjs opened this issue · 1 comments
immjs commented
How do I fix it?
ericleong commented
Do you have more details? What browser are you using and what code is causing the error?
Did you initialize the library like this?
var canvas = document.getElementById('canvas');
var fisheye = new Fisheye(canvas);
fisheye.setDistortion(red, green, blue);