Skip to content

Commit

Permalink
Fix typo in addScaled
Browse files Browse the repository at this point in the history
  • Loading branch information
hugh committed Aug 13, 2023
1 parent 6070b0a commit 059bf21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nme/geom/Vector3D.hx
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ class Vector3D

public function addScaled(v:Vector3D, s:Float):Vector3D
{
return new Vector3D(x + v.x*s, y + v.y*s, z + v.y*s, 1);
return new Vector3D(x + v.x*s, y + v.y*s, z + v.z*s, 1);
}


Expand Down

0 comments on commit 059bf21

Please sign in to comment.