Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clearDepth() example broken #7094

Closed
17 tasks
davepagurek opened this issue Jun 13, 2024 · 0 comments · Fixed by #7095
Closed
17 tasks

clearDepth() example broken #7094

davepagurek opened this issue Jun 13, 2024 · 0 comments · Fixed by #7095
Labels

Comments

@davepagurek
Copy link
Contributor

Most appropriate sub-area of p5.js?

  • Accessibility
  • Color
  • Core/Environment/Rendering
  • Data
  • DOM
  • Events
  • Image
  • IO
  • Math
  • Typography
  • Utilities
  • WebGL
  • Build process
  • Unit testing
  • Internationalization
  • Friendly errors
  • Other (specify if possible)

p5.js version

v1.9.4

Web browser and version

Firefox

Operating system

MacOS

Steps to reproduce this

On https://p5js.org/reference/#/p5/clearDepth, trails are not showing:

  • A framebuffer named prev is declared instead of previous
  • previous and current aren't swapped; it just sets one to the other, leaving the second unused
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant