Skip to content

Commit

Permalink
Redefine second argument of _vector3::clamp as reference.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Kovalenko committed Oct 8, 2014
1 parent ebcc62b commit 6230526
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xrCore/_vector3d.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ struct _vector3 {
}

// Clamp vector3
IC SelfRef clamp(const Self &min, const Self max)
IC SelfRef clamp(const Self &min, const Self& max)
{
::clamp(x,min.x,max.x);
::clamp(y,min.y,max.y);
Expand Down

0 comments on commit 6230526

Please sign in to comment.