p5.EasyCam icon indicating copy to clipboard operation
p5.EasyCam copied to clipboard

HUD usage

Open nevahid opened this issue 5 years ago • 1 comments

hi every body... i was trying to use HUD option with beginHUD and endHUD... there was no error, but nothing was shown... this is my code:

mainCam.beginHUD(RENDERER,500,500);
mainCam.endHUD(RENDERER);

i found the below error in p5.js: Uncaught (in promise) TypeError: Cannot read property 'mat4' of undefined at p5.Shader._setMatrixUniforms (p5.js:81305) at p5.Shader.bindShader (p5.js:81248) at p5.RendererGL.drawBuffers (p5.js:79721) at p5.RendererGL.rect (p5.js:74662) at p5.rect (p5.js:53387)

thanks in advance @diwi

nevahid avatar Apr 25 '19 16:04 nevahid

I had the same issue and the answer was that I was using an old lib version. New one here: https://github.com/freshfork/p5.EasyCam

tymoshenko avatar Sep 08 '20 14:09 tymoshenko