diff options
author | pathorn@chromium.org <pathorn@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-14 03:55:52 +0000 |
---|---|---|
committer | pathorn@chromium.org <pathorn@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-14 03:55:52 +0000 |
commit | 1d594bafeff18a8f5a3257acb2bc64c06f8f3367 (patch) | |
tree | 86b26bdf77251717fabc0e30d51fe038d6442718 | |
parent | 3eed248ecdf1ce8bb7f9cc5f0b61767e0408b9a9 (diff) | |
download | chromium_src-1d594bafeff18a8f5a3257acb2bc64c06f8f3367.zip chromium_src-1d594bafeff18a8f5a3257acb2bc64c06f8f3367.tar.gz chromium_src-1d594bafeff18a8f5a3257acb2bc64c06f8f3367.tar.bz2 |
o3djs: usePluginMath should be false, only set if o3djs.math is defined.
TBR=petersont
Review URL: http://codereview.chromium.org/3411002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59332 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | o3d/samples/o3djs/math.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/o3d/samples/o3djs/math.js b/o3d/samples/o3djs/math.js index c37ccb2..b52b382 100644 --- a/o3d/samples/o3djs/math.js +++ b/o3d/samples/o3djs/math.js @@ -3071,14 +3071,14 @@ if (!use_plugin_math) { for (var i in o3djs.flat_math) { o3djs.math[i] = o3djs.flat_math[i]; } -} + /** + * True if we are using the plugin math library in which matrices are + * represented by 2-dimensional arrays. + * @type {boolean} + * @private + */ + o3djs.math.usePluginMath_ = false; +} -/** - * True if we are using the plugin math library in which matrices are - * represented by 2-dimensional arrays. - * @type {boolean} - * @private - */ -o3djs.math.usePluginMath_ = true; |