You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like q5's optimizations don't account for changes to a vector's components.
varvec=newp5.Vector();vec.x=2;vec.normalize();console.log(vec.x);// gives 1vec.y=1;vec.normalize();console.log(vec.x)// gives 0.707 in p5, but still 1 in q5
The text was updated successfully, but these errors were encountered:
Looks like q5's optimizations don't account for changes to a vector's components.
The text was updated successfully, but these errors were encountered: