Changeset 187 for trunk/UMap.pas
- Timestamp:
- Feb 17, 2018, 11:39:36 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UMap.pas
r177 r187 64 64 var 65 65 Shift: TPointF; 66 begin 67 Shift := TPointF.Create(0.5 * cos(30 / 180 * Pi), 0.5 * sin(30 / 180 * Pi)); 66 Angle: Double; 67 begin 68 Angle := 30 / 180 * Pi; 69 Shift := TPointF.Create(0.5, 0.5) * TPointF.Create(Cos(Angle), Sin(Angle)); 68 70 SetLength(Result.Points, 6); 69 71 Result.Points[0] := TPoint.Create(Trunc(Pos.X + 0 * Size.X), Trunc(Pos.Y - 0.5 * Size.Y));
Note:
See TracChangeset
for help on using the changeset viewer.