summaryrefslogtreecommitdiffstats
path: root/o3d
diff options
context:
space:
mode:
authorgman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-24 00:01:26 +0000
committergman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-24 00:01:26 +0000
commit0b25ecf7f8f7ddc903f58607a3029f936e5ee1f5 (patch)
tree090416e94d1ad3b8bfdf0352f387b9162ff3d27a /o3d
parentcfe85f2b74d694e0d6a89c23f9ec7b44a75a04ca (diff)
downloadchromium_src-0b25ecf7f8f7ddc903f58607a3029f936e5ee1f5.zip
chromium_src-0b25ecf7f8f7ddc903f58607a3029f936e5ee1f5.tar.gz
chromium_src-0b25ecf7f8f7ddc903f58607a3029f936e5ee1f5.tar.bz2
Fix beach demo strafe.
Review URL: http://codereview.chromium.org/328019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29974 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d')
-rw-r--r--o3d/samples/beachdemo/beachdemo.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/o3d/samples/beachdemo/beachdemo.js b/o3d/samples/beachdemo/beachdemo.js
index 7e01b1a..6692697 100644
--- a/o3d/samples/beachdemo/beachdemo.js
+++ b/o3d/samples/beachdemo/beachdemo.js
@@ -621,7 +621,7 @@ function moveCameraLeftRight(direction) {
direction *= g_cameraMoveSpeedMultiplier;
g_camera.eye = g_math.addVector(
g_camera.eye,
- g_mathVectorScalar.mul(g_camera.xAxis, direction));
+ g_math.mulVectorScalar(g_camera.xAxis, direction));
updateCamera();
stopAnimatedCamera();
}