simplify IMDraw.Precision

This commit is contained in:
faiface 2017-03-15 14:01:55 +01:00
parent 5cc293784e
commit 1cecf85bdb
1 changed files with 0 additions and 3 deletions

View File

@ -177,9 +177,6 @@ func (imd *IMDraw) Precision(p int) {
if p+1 > len(imd.tmp) {
imd.tmp = append(imd.tmp, make([]Vec, p+1-len(imd.tmp))...)
}
if p+1 < len(imd.tmp) {
imd.tmp = imd.tmp[:p+1]
}
}
// EndShape sets the endshape of the next Pushed points.