diff options
author | hwc487 | 2012-04-02 10:17:48 -0700 |
---|---|---|
committer | hwc487 | 2012-04-02 10:17:48 -0700 |
commit | 679a0746bedab9c5871a83a5fea6a06ac6a4f41c (patch) | |
tree | 9fabe83b2c48ebe1d1ae2b8ed6bb870ceec2fda7 /js/lib/geom | |
parent | 947bad893335e1023bcbe177ff8db454c27c4bf8 (diff) | |
download | ninja-679a0746bedab9c5871a83a5fea6a06ac6a4f41c.tar.gz |
texture abstraction
Diffstat (limited to 'js/lib/geom')
-rwxr-xr-x | js/lib/geom/geom-obj.js | 4 |
1 files changed, 4 insertions, 0 deletions
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() { | |||
220 | this.setStrokeColor(this._strokeColor); | 220 | this.setStrokeColor(this._strokeColor); |
221 | } | 221 | } |
222 | 222 | ||
223 | this._strokeMaterial = strokeMaterial; | ||
224 | |||
223 | return strokeMaterial; | 225 | return strokeMaterial; |
224 | }; | 226 | }; |
225 | 227 | ||
@@ -242,6 +244,8 @@ var GeomObj = function GLGeomObj() { | |||
242 | this.setFillColor(this._fillColor); | 244 | this.setFillColor(this._fillColor); |
243 | } | 245 | } |
244 | 246 | ||
247 | this._fillMaterial = fillMaterial; | ||
248 | |||
245 | return fillMaterial; | 249 | return fillMaterial; |
246 | }; | 250 | }; |
247 | 251 | ||