stride not rows + cols

This commit is contained in:
Will Charczuk 2017-04-17 22:58:28 -07:00
parent 846133c6bf
commit e4f05d3863
3 changed files with 141 additions and 61 deletions

View file

@ -30,3 +30,7 @@ func maxInt(values ...int) int {
func f64s(v float64) string {
return strconv.FormatFloat(v, 'f', -1, 64)
}
func roundToEpsilon(value, epsilon float64) float64 {
return math.Nextafter(value, value)
}