We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 57c731b + da9a3dc commit 2639ff5Copy full SHA for 2639ff5
src/core/shape/2d_primitives.js
@@ -532,7 +532,7 @@ p5.prototype.quad = function(...args) {
532
p5._validateParameters('quad', args);
533
534
if (this._renderer._doStroke || this._renderer._doFill) {
535
- if (this._renderer.isP3D && args.length <= 12) {
+ if (this._renderer.isP3D && args.length < 12) {
536
// if 3D and we weren't passed 12 args, assume Z is 0
537
this._renderer.quad.call(
538
this._renderer,
0 commit comments