Chromium Code Reviews| Index: samples/beachdemo/beachdemo.js |
| =================================================================== |
| --- samples/beachdemo/beachdemo.js (revision 19769) |
| +++ samples/beachdemo/beachdemo.js (working copy) |
| @@ -420,7 +420,7 @@ |
| target = g_camera.maxFieldOfView; |
| } |
| - g_camera.fieldOfView = g_math.lerpVector(target, g_camera.fieldOfView, 0.9); |
| + g_camera.fieldOfView = g_math.lerpScalar(target, g_camera.fieldOfView, 0.9); |
| updateProjection(); |
| stopAnimatedCamera(); |