From 9341a413ac3d6f4b920fd5530caf0c5bf646f27c Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 31 Jul 2018 15:15:01 +0200 Subject: interpolation auf dreifache Punktanzahl begrenzen --- ROM.lps | 72 ++++++++++++++++++++++++++++++------------------------------- romunit.pas | 2 +- 2 files changed, 37 insertions(+), 37 deletions(-) diff --git a/ROM.lps b/ROM.lps index 6d5de5b..fae3e1e 100644 --- a/ROM.lps +++ b/ROM.lps @@ -17,9 +17,9 @@ - - - + + + @@ -59,121 +59,121 @@ - + - + + - + - + - + - - + - + + - + - + - + - - + + - + - + - - + + - + - + - + - + - + - - + + - - + + - - + + - + - + - + - - + diff --git a/romunit.pas b/romunit.pas index 761bd68..cc2a2ef 100644 --- a/romunit.pas +++ b/romunit.pas @@ -797,7 +797,7 @@ begin setlength(tdat,length(dat)); for i:=0 to length(dat)-1 do tdat[i]:=dat[i]; - setlength(dat,round(xLen/tmp+1)); + setlength(dat,min(3*length(dat),round(xLen/tmp+1))); j:=0; for i:=0 to length(dat)-1 do begin dat[i]['x']:=tdat[0]['x'] + xLen*i/(length(dat)-1); -- cgit v1.2.3-70-g09d2