We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
2.0 beta 1
Firefox
MacOS
Calling model() in a buildGeometry callback should add that model to the geometry being built, but it does not seem to in the 2.0 beta.
model()
This works in 1.11.2 (it draws a sphere) but in the 2.0 beta, it does not yet:
let geom function setup() { createCanvas(400, 400, WEBGL); const geom2 = buildGeometry(() => sphere()) geom = buildGeometry(() => model(geom2)) } function draw() { background(220); orbitControl() model(geom) }
Live: https://editor.p5js.org/davepagurek/sketches/WhFnvqCBR
The text was updated successfully, but these errors were encountered:
davepagurek
No branches or pull requests
Most appropriate sub-area of p5.js?
p5.js version
2.0 beta 1
Web browser and version
Firefox
Operating system
MacOS
Steps to reproduce this
Calling
model()
in a buildGeometry callback should add that model to the geometry being built, but it does not seem to in the 2.0 beta.This works in 1.11.2 (it draws a sphere) but in the 2.0 beta, it does not yet:
Live: https://editor.p5js.org/davepagurek/sketches/WhFnvqCBR
The text was updated successfully, but these errors were encountered: