Skip to content

Commit 780858e

Browse files
committed
svg_toPaint_xMin() etc to be ±inf
1 parent f3a12ea commit 780858e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

C/controls.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,10 @@ bool holesFillQ(const Tiling * const tlngP)
138138
// These can be changed to show, in SVG, only a subset of the rhombi.
139139
// Comments have example, as used to make image in documentation.
140140
// These y values are as generated by C code; SVG's y values are -1* these.
141-
const double svg_toPaint_xMin(const Tiling * const tlngP) {return -0.09830056;} // -999999 -0.09830056, from tilingId==10, paths 13 and 30, + edgeLength * Sin(18)
142-
const double svg_toPaint_yMin(const Tiling * const tlngP) {return +0.46449333;} // -999999 +0.46449333, from tilingId==10, paths 13 and 30, + edgeLength * Sin(36)
143-
const double svg_toPaint_xMax(const Tiling * const tlngP) {return +1.27553483;} // +999999 +1.27553483, from tilingId==10, paths 13 and 30, - edgeLength * Sin(18)
144-
const double svg_toPaint_yMax(const Tiling * const tlngP) {return +1.62459848;} // +999999 +1.62459848, from tilingId==10, paths 13 and 30, - edgeLength * Sin(36)
141+
const double svg_toPaint_xMin(const Tiling * const tlngP) {return -999999;} // -0.09830056, from tilingId==10, paths 13 and 30, + edgeLength * Sin(18)
142+
const double svg_toPaint_yMin(const Tiling * const tlngP) {return -999999;} // +0.46449333, from tilingId==10, paths 13 and 30, + edgeLength * Sin(36)
143+
const double svg_toPaint_xMax(const Tiling * const tlngP) {return +999999;} // +1.27553483, from tilingId==10, paths 13 and 30, - edgeLength * Sin(18)
144+
const double svg_toPaint_yMax(const Tiling * const tlngP) {return +999999;} // +1.62459848, from tilingId==10, paths 13 and 30, - edgeLength * Sin(36)
145145
const double svg_displayWidth(const Tiling * const tlngP) {return 960;} // GitHub seems to use a 1012px column. This that, less a little wiggle room for margin and padding.
146146
const double svg_strokeWidth(const Tiling * const tlngP) {return tlngP->edgeLength / 16;}
147147

0 commit comments

Comments
 (0)