Index: tracing/tracing/base/math/quad.html |
diff --git a/tracing/tracing/base/math/quad.html b/tracing/tracing/base/math/quad.html |
index 5ead839bf7bc2c3f091f952fa69b2258d7ffc663..517c25530fdcdfe28174efca5bb02591b0a82cc9 100644 |
--- a/tracing/tracing/base/math/quad.html |
+++ b/tracing/tracing/base/math/quad.html |
@@ -11,8 +11,9 @@ found in the LICENSE file. |
tr.exportTo('tr.b.math', function() { |
var tmpVec2s = []; |
- for (var i = 0; i < 8; i++) |
+ for (var i = 0; i < 8; i++) { |
tmpVec2s[i] = vec2.create(); |
+ } |
var tmpVec2a = vec4.create(); |
var tmpVec4a = vec4.create(); |
@@ -70,8 +71,9 @@ tr.exportTo('tr.b.math', function() { |
}; |
Quad.from8Array = function(arr) { |
- if (arr.length !== 8) |
+ if (arr.length !== 8) { |
throw new Error('Array must be 8 long'); |
+ } |
var q = new Quad(); |
q.p1[0] = arr[0]; |
q.p1[1] = arr[1]; |