mirror of
https://github.com/moparisthebest/Simba
synced 2024-11-29 12:32:14 -05:00
Compilation fix... ;)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@422 3f818213-9676-44b0-a9b4-5e4c4e03d09d
This commit is contained in:
parent
7f16b864f7
commit
b14262ebaf
@ -37,8 +37,7 @@ Procedure PrintpDTM(aDTM : pDTM);
|
|||||||
|
|
||||||
procedure initdtm(out d: pdtm; len: integer);
|
procedure initdtm(out d: pdtm; len: integer);
|
||||||
function ValidMainPointBox(var dtm: pDTM; const x1, y1, x2, y2: Integer): TBox;
|
function ValidMainPointBox(var dtm: pDTM; const x1, y1, x2, y2: Integer): TBox;
|
||||||
function ValidMainPointBoxRotated(var dtm: pDTM; const x1, y1, x2, y2: Integer;
|
function ValidMainPointBoxRotated(var dtm: pDTM; const x1, y1, x2, y2: Integer): TBox;
|
||||||
sAngle, eAngle, aStep: Extended): TBox;
|
|
||||||
function DTMConsistent(var dtm: pdtm): boolean;
|
function DTMConsistent(var dtm: pdtm): boolean;
|
||||||
procedure NormalizeDTM(var dtm: pdtm);
|
procedure NormalizeDTM(var dtm: pdtm);
|
||||||
|
|
||||||
@ -239,8 +238,7 @@ begin
|
|||||||
Result.y2 := y2 - b.y2;
|
Result.y2 := y2 - b.y2;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
Function ValidMainPointBoxRotated(var dtm: pDTM; const x1, y1, x2, y2: Integer;
|
Function ValidMainPointBoxRotated(var dtm: pDTM; const x1, y1, x2, y2: Integer): TBox;
|
||||||
sAngle, eAngle, aStep: Extended): TBox;
|
|
||||||
|
|
||||||
var
|
var
|
||||||
i, d: Integer;
|
i, d: Integer;
|
||||||
@ -253,7 +251,6 @@ begin
|
|||||||
dtm.p[0] := dtm.p[0] - dtm.p[0];
|
dtm.p[0] := dtm.p[0] - dtm.p[0];
|
||||||
|
|
||||||
|
|
||||||
{ FIXME }
|
|
||||||
for i := 0 to high(dtm.c) do
|
for i := 0 to high(dtm.c) do
|
||||||
begin
|
begin
|
||||||
d := max(dtm.p[i].x - dtm.asz[i], d);
|
d := max(dtm.p[i].x - dtm.asz[i], d);
|
||||||
|
Loading…
Reference in New Issue
Block a user