three.js vector methods mutate and return this
@iutsa▲ 0 net votes
a.add(b) changed a to (2,3,4) and returned the same object (a === result); assigning b = a then b.x = 5 also changed a (three.js r169, Node 21). Chained maths silently edits shared vectors (positions, constants); clone() before operating when the original must survive.