diff options
author | Valerio Virgillito | 2012-05-11 10:59:25 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-05-11 10:59:25 -0700 |
commit | e2ef92008a39a67d4f7db0627c7352bdc06ed476 (patch) | |
tree | ae6122570b41879b5fa434c970592fe1deb23a2e /js/lib/geom/brush-stroke.js | |
parent | 632a53278826a33506b302b573ee0681840f2d6c (diff) | |
parent | 0467a1cf331c067b21bf5d6acfe47ec9edc2e41c (diff) | |
download | ninja-e2ef92008a39a67d4f7db0627c7352bdc06ed476.tar.gz |
Merge pull request #215 from mqg734/WebGLFixes
Updated Line, Oval and Rectangle geom classes to use object literal notation. Also, updated canvas-runtime.js to use object literal notation.
Diffstat (limited to 'js/lib/geom/brush-stroke.js')
-rwxr-xr-x | js/lib/geom/brush-stroke.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/lib/geom/brush-stroke.js b/js/lib/geom/brush-stroke.js index 1fae0c1d..6facdd5d 100755 --- a/js/lib/geom/brush-stroke.js +++ b/js/lib/geom/brush-stroke.js | |||
@@ -768,7 +768,7 @@ var BrushStroke = function GLBrushStroke() { | |||
768 | 768 | ||
769 | }; //function BrushStroke ...class definition | 769 | }; //function BrushStroke ...class definition |
770 | 770 | ||
771 | BrushStroke.prototype = new GeomObj(); | 771 | BrushStroke.prototype = Object.create(GeomObj, {}); |
772 | 772 | ||
773 | BrushStroke.prototype._CatmullRomSplineInterpolate = function(ctrlPts, t) | 773 | BrushStroke.prototype._CatmullRomSplineInterpolate = function(ctrlPts, t) |
774 | { | 774 | { |