Most appropriate sub-area of p5.js?
p5.js version
v2.3.0-rc.1
Web browser and version
Brave 1.90.122
Operating system
Linux Mint 6.8.0-117
Steps to reproduce this
Steps:
- Create a vector with more than three dimensions
- Multiply it by a scalar
- Note that the result has only three dimensions; it should have the same length as the original vector
Snippet:
function setup() {
const v=createVector(100,50,200,100, 25);
v.mult(2);
console.log(v.toString());
}
This should print vector[200, 100, 400, 200, 50]; instead is prints vector[200, 100, 400]. (It works correctly in version 2.2.2.)
Most appropriate sub-area of p5.js?
p5.js version
v2.3.0-rc.1
Web browser and version
Brave 1.90.122
Operating system
Linux Mint 6.8.0-117
Steps to reproduce this
Steps:
Snippet:
This should print
vector[200, 100, 400, 200, 50]; instead is printsvector[200, 100, 400]. (It works correctly in version 2.2.2.)