-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
There seems to be a bug with the implementation of Vector.lerp() function
$.Vector.lerp= function(v,u,t){return new $.Vector(v.x * (1-t) + u.x * t,
v.y = v.y * (1-t) + u.y * t,
v.z = v.z * (1-t) + u.z * t);}
The function change the value of y and z coordinate of the first param vector, which don't seems to be intended (it should not modify any value of the first param vector)
Metadata
Metadata
Assignees
Labels
No labels