Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
davepagurek committed May 21, 2024
1 parent a8ebc4a commit 9f2cdd1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/unit/webgl/p5.RendererGL.js
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,9 @@ suite('p5.RendererGL', function() {
var viewMatrixBefore = myp5._renderer.uViewMatrix.copy();

myp5.push();
// Change view
myp5.camera(0, 0, -500);
// Change model
myp5.rotateX(Math.random(0, 100));
myp5.translate(20, 100, 5);
// Check if the model matrix has changed
Expand Down

0 comments on commit 9f2cdd1

Please sign in to comment.