summaryrefslogtreecommitdiffstats
path: root/o3d/samples
diff options
context:
space:
mode:
Diffstat (limited to 'o3d/samples')
-rw-r--r--o3d/samples/gpu2d/svg_butterfly.html2
-rw-r--r--o3d/samples/gpu2d/svgloader.js2
2 files changed, 1 insertions, 3 deletions
diff --git a/o3d/samples/gpu2d/svg_butterfly.html b/o3d/samples/gpu2d/svg_butterfly.html
index b473e38..0cd4182 100644
--- a/o3d/samples/gpu2d/svg_butterfly.html
+++ b/o3d/samples/gpu2d/svg_butterfly.html
@@ -48,7 +48,5 @@ SVG Butterfly
<div id="o3d" style="width: 1280px; height: 1024px;"></div>
<!-- End of O3D plugin -->
-(There are currently still rendering errors in the above.)
-
</body>
</html>
diff --git a/o3d/samples/gpu2d/svgloader.js b/o3d/samples/gpu2d/svgloader.js
index b01352c..46e4506 100644
--- a/o3d/samples/gpu2d/svgloader.js
+++ b/o3d/samples/gpu2d/svgloader.js
@@ -335,7 +335,7 @@ SVGLoader.prototype.parsePath_ = function(pathData,
if (this.fill_) {
path.setFill(this.fill_);
}
- path.setPolygonOffset(-2 * this.polygonOffset_, -3 * this.polygonOffset_);
+ path.setPolygonOffset(-3 * this.polygonOffset_, -4 * this.polygonOffset_);
++this.polygonOffset_;
this.currentTransform_().addShape(path.shape);
};