Commit e7972193 by Nicolas Capens Committed by Nicolas Capens

Fix typo in Vector lerp()

Change-Id: Id09bcb2b9ecfb90321ab94d3d9589055f0234252 Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/31769Tested-by: 's avatarNicolas Capens <nicolascapens@google.com> Kokoro-Presubmit: kokoro <noreply+kokoro@google.com> Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com>
parent f4d2a446
...@@ -170,6 +170,6 @@ namespace sw ...@@ -170,6 +170,6 @@ namespace sw
{ {
return Vector(u.x + t * (v.x - u.x), return Vector(u.x + t * (v.x - u.x),
u.y + t * (v.y - u.y), u.y + t * (v.y - u.y),
u.z + t * (v.z - u.x)); u.z + t * (v.z - u.z));
} }
} }
...@@ -170,6 +170,6 @@ namespace sw ...@@ -170,6 +170,6 @@ namespace sw
{ {
return Vector(u.x + t * (v.x - u.x), return Vector(u.x + t * (v.x - u.x),
u.y + t * (v.y - u.y), u.y + t * (v.y - u.y),
u.z + t * (v.z - u.x)); u.z + t * (v.z - u.z));
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment