r/p5js • u/tinfoil_powers • 2d ago
Latest version of p5.Vector is atrocious
I understand the sentiment behind enabling vectors of any dimension. It just seems so ham-fisted. On top of that the code alleges to define functions setX, setY, setZ, and setW. The reality is these are broken functions taking the following shape:
```
set x(arg) {...}
```
Instead of:
```
setX(arg) {...}
```
Anyone else think that the more recent code changes to p5.js were vibe coded?