* Add constants cPI and friends, for delphi compatibility

This commit is contained in:
Michaël Van Canneyt 2024-05-06 18:01:30 +02:00
parent a04d2b59f6
commit d6cf3c98d0

View File

@ -531,6 +531,13 @@ type
end;
{$endif}
Const
cPI: Single = 3.141592654;
cPIdiv180: Single = 0.017453292;
cPIdiv2: Single = 1.570796326;
cPIdiv4: Single = 0.785398163;
implementation
{$IFDEF FPC_DOTTEDUNITS}