mirror of
https://github.com/moparisthebest/Simba
synced 2024-11-13 04:45:03 -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);
|
||||
function ValidMainPointBox(var dtm: pDTM; const x1, y1, x2, y2: Integer): TBox;
|
||||
function ValidMainPointBoxRotated(var dtm: pDTM; const x1, y1, x2, y2: Integer;
|
||||
sAngle, eAngle, aStep: Extended): TBox;
|
||||
function ValidMainPointBoxRotated(var dtm: pDTM; const x1, y1, x2, y2: Integer): TBox;
|
||||
function DTMConsistent(var dtm: pdtm): boolean;
|
||||
procedure NormalizeDTM(var dtm: pdtm);
|
||||
|
||||
@ -239,8 +238,7 @@ begin
|
||||
Result.y2 := y2 - b.y2;
|
||||
end;
|
||||
|
||||
Function ValidMainPointBoxRotated(var dtm: pDTM; const x1, y1, x2, y2: Integer;
|
||||
sAngle, eAngle, aStep: Extended): TBox;
|
||||
Function ValidMainPointBoxRotated(var dtm: pDTM; const x1, y1, x2, y2: Integer): TBox;
|
||||
|
||||
var
|
||||
i, d: Integer;
|
||||
@ -253,13 +251,12 @@ begin
|
||||
dtm.p[0] := dtm.p[0] - dtm.p[0];
|
||||
|
||||
|
||||
{ FIXME }
|
||||
for i := 0 to high(dtm.c) do
|
||||
begin
|
||||
d := max(dtm.p[i].x - dtm.asz[i], d);
|
||||
d := max(dtm.p[i].x + dtm.asz[i], d);
|
||||
d := max(dtm.p[i].y - dtm.asz[i], d);
|
||||
d := max(dtm.p[i].y + dtm.asz[i], d);
|
||||
d := max(dtm.p[i].x - dtm.asz[i], d);
|
||||
d := max(dtm.p[i].x + dtm.asz[i], d);
|
||||
d := max(dtm.p[i].y - dtm.asz[i], d);
|
||||
d := max(dtm.p[i].y + dtm.asz[i], d);
|
||||
end;
|
||||
|
||||
Result.x1 := d;
|
||||
|
Loading…
Reference in New Issue
Block a user