Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(589)

Unified Diff: samples/o3d-webgl/bounding_box.js

Issue 1092003: Fixed a lot of bugs with render surfaces and bitmaps. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: '' Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « samples/o3d-webgl/bitmap.js ('k') | samples/o3d-webgl/buffer.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/o3d-webgl/bounding_box.js
===================================================================
--- samples/o3d-webgl/bounding_box.js (revision 40133)
+++ samples/o3d-webgl/bounding_box.js (working copy)
@@ -72,7 +72,7 @@
* Multiplies the bounding box by the given matrix returning a new bounding
* box.
* @param {!o3d.math.Matrix4} matrix The matrix to multiply by.
- * @returns {!o3d.BoundingBox} The new bounding box.
+ * @return {!o3d.BoundingBox} The new bounding box.
*/
o3d.BoundingBox.prototype.mul =
function(matrix) {
@@ -84,7 +84,7 @@
* Adds a bounding box to this bounding box returning a bounding box that
* encompases both.
* @param {!o3d.BoundingBox} box BoundingBox to add to this BoundingBox.
- * @returns {!o3d.BoundingBox} The new bounding box.
+ * @return {!o3d.BoundingBox} The new bounding box.
*/
o3d.BoundingBox.prototype.add =
function(box) {
@@ -98,7 +98,7 @@
* TODO(petersont): this can also take six coordinates as input.
* @param {!o3d.math.Point3} start position of start of ray in local space.
* @param {!o3d.math.Point3} end position of end of ray in local space.
- * @returns {!o3d.RayIntersectionInfo} RayIntersectionInfo. If result.value
+ * @return {!o3d.RayIntersectionInfo} RayIntersectionInfo. If result.value
* is false then something was wrong like using this function with an
* uninitialized bounding box. If result.intersected is true then the ray
* intersected the box and result.position is the exact point of
@@ -114,7 +114,7 @@
* Returns true if the bounding box is inside the frustum.
* @param {!o3d.math.Matrix4} matrix Matrix to transform the box from its
* local space to view frustum space.
- * @returns {boolean} True if the box is in the frustum.
+ * @return {boolean} True if the box is in the frustum.
*/
o3d.BoundingBox.prototype.inFrustum =
function(matrix) {
« no previous file with comments | « samples/o3d-webgl/bitmap.js ('k') | samples/o3d-webgl/buffer.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698