From 679a0746bedab9c5871a83a5fea6a06ac6a4f41c Mon Sep 17 00:00:00 2001 From: hwc487 Date: Mon, 2 Apr 2012 10:17:48 -0700 Subject: texture abstraction --- js/lib/geom/geom-obj.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'js/lib/geom') diff --git a/js/lib/geom/geom-obj.js b/js/lib/geom/geom-obj.js index a87bdbf5..11b9303a 100755 --- a/js/lib/geom/geom-obj.js +++ b/js/lib/geom/geom-obj.js @@ -220,6 +220,8 @@ var GeomObj = function GLGeomObj() { this.setStrokeColor(this._strokeColor); } + this._strokeMaterial = strokeMaterial; + return strokeMaterial; }; @@ -242,6 +244,8 @@ var GeomObj = function GLGeomObj() { this.setFillColor(this._fillColor); } + this._fillMaterial = fillMaterial; + return fillMaterial; }; -- cgit v1.2.3