@@ -35,8 +35,9 @@ private class TileLayerContent extends h3d.prim.Primitive {
}
public function add( x : Int, y : Int, r : Float, g : Float, b : Float, a : Float, t : Tile ) {
- var sx = x + t.dx;
- var sy = y + t.dy;
+ // +0.001 required for directx9 (only ?)
+ var sx = x + t.dx + 0.001;
+ var sy = y + t.dy + 0.001;
tmp.push(sx);
tmp.push(sy);
tmp.push(t.u);