diff options
Diffstat (limited to 'js/lib/geom/brush-stroke.js')
-rwxr-xr-x | js/lib/geom/brush-stroke.js | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/js/lib/geom/brush-stroke.js b/js/lib/geom/brush-stroke.js index 2a751a89..8c5ffef3 100755 --- a/js/lib/geom/brush-stroke.js +++ b/js/lib/geom/brush-stroke.js | |||
@@ -715,18 +715,6 @@ var BrushStroke = function GLBrushStroke() { | |||
715 | this.update(); //after this, the stroke is ready to be rendered | 715 | this.update(); //after this, the stroke is ready to be rendered |
716 | }; | 716 | }; |
717 | 717 | ||
718 | |||
719 | this.export = function() { | ||
720 | var jsonObject = this.exportJSON(); | ||
721 | var stringified = JSON.stringify(jsonObject); | ||
722 | return "type: " + this.geomType() + "\n" + stringified; | ||
723 | }; | ||
724 | |||
725 | this.import = function( importStr ) { | ||
726 | var jsonObject = JSON.parse(importStr); | ||
727 | this.importJSON(jsonObject); | ||
728 | } | ||
729 | |||
730 | this.collidesWithPoint = function (x, y, z) { | 718 | this.collidesWithPoint = function (x, y, z) { |
731 | if (x < this._BBoxMin[0]) return false; | 719 | if (x < this._BBoxMin[0]) return false; |
732 | if (x > this._BBoxMax[0]) return false; | 720 | if (x > this._BBoxMax[0]) return false; |