summaryrefslogtreecommitdiffstats
path: root/o3d/samples
diff options
context:
space:
mode:
authorgman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-03 00:37:50 +0000
committergman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-03 00:37:50 +0000
commitd365cc441062ab9337109467c88e9102f4f44204 (patch)
tree35b0780572fb1f55f1c9c2d5f039b48c201a7e65 /o3d/samples
parent56bea79b8ad6d9f23a51a6f00c9d508f3a7c2a62 (diff)
downloadchromium_src-d365cc441062ab9337109467c88e9102f4f44204.zip
chromium_src-d365cc441062ab9337109467c88e9102f4f44204.tar.gz
chromium_src-d365cc441062ab9337109467c88e9102f4f44204.tar.bz2
TBR=kbr@google.com
I missed one of your comments in the last CL Review URL: http://codereview.chromium.org/464009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33636 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/samples')
-rw-r--r--o3d/samples/checkers.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/o3d/samples/checkers.html b/o3d/samples/checkers.html
index 9275bfe..144ee6d 100644
--- a/o3d/samples/checkers.html
+++ b/o3d/samples/checkers.html
@@ -353,8 +353,8 @@ function createCheckersBoard() {
}
}
- // Update our tree info.
- updateg_pickManager();
+ // Update our PickManager.
+ updatePickManager();
// update status.
updateStatus('Game starting... RED moves first.', true);
@@ -391,7 +391,7 @@ function checkAndUpdateKing(x, y) {
/**
* Updates the transform tree info.
*/
-function updateg_pickManager() {
+function updatePickManager() {
if (!g_pickManager) {
g_pickManager = o3djs.picking.createPickManager(g_client.root);
}
@@ -773,8 +773,8 @@ function moveSelectedPiece(elapsedTime) {
g_selectedSquare = null;
g_moveTimer = 0;
- // update the tree info.
- updateg_pickManager();
+ // update the picking info.
+ updatePickManager();
// check if current player can jump again.
if (wasJump && pieceCanJump(g_board[x1][y1])) {