Ignore:
Timestamp:
Apr 17, 2019, 12:58:41 AM (5 years ago)
Author:
chronos
Message:
  • Modified: Propagate project build mode options to used packages.
  • Added: Check memory leaks using heaptrc.
  • Modified: Update BGRABitmap package.
Location:
GraphicTest
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • GraphicTest

    • Property svn:ignore
      •  

        old new  
        88GraphicTest.lps
        99GraphicTest.dbg
         10heaptrclog.trc
  • GraphicTest/Packages/bgrabitmap/bgrascenetypes.pas

    r494 r521  
    253253  IBGRAPart3D = interface
    254254    procedure Clear(ARecursive: boolean);
    255     function Add(x,y,z: single): IBGRAVertex3D;
    256     function Add(pt: TPoint3D): IBGRAVertex3D;
    257     function Add(pt: TPoint3D; normal: TPoint3D): IBGRAVertex3D;
    258     function Add(pt: TPoint3D_128): IBGRAVertex3D;
    259     function Add(pt: TPoint3D_128; normal: TPoint3D_128): IBGRAVertex3D;
    260     function AddNormal(x,y,z: single): IBGRANormal3D;
    261     function AddNormal(pt: TPoint3D): IBGRANormal3D;
    262     function AddNormal(pt: TPoint3D_128): IBGRANormal3D;
    263     function Add(const coords: array of single): arrayOfIBGRAVertex3D;
    264     function Add(const pts: array of TPoint3D): arrayOfIBGRAVertex3D;
    265     function Add(const pts_128: array of TPoint3D_128): arrayOfIBGRAVertex3D;
    266     procedure Add(const pts: array of IBGRAVertex3D);
    267     procedure Add(AVertex: IBGRAVertex3D);
     255    function Add(x,y,z: single): IBGRAVertex3D; overload;
     256    function Add(pt: TPoint3D): IBGRAVertex3D; overload;
     257    function Add(pt: TPoint3D; normal: TPoint3D): IBGRAVertex3D; overload;
     258    function Add(pt: TPoint3D_128): IBGRAVertex3D; overload;
     259    function Add(pt: TPoint3D_128; normal: TPoint3D_128): IBGRAVertex3D; overload;
     260    function AddNormal(x,y,z: single): IBGRANormal3D; overload;
     261    function AddNormal(pt: TPoint3D): IBGRANormal3D; overload;
     262    function AddNormal(pt: TPoint3D_128): IBGRANormal3D; overload;
     263    function Add(const coords: array of single): arrayOfIBGRAVertex3D; overload;
     264    function Add(const pts: array of TPoint3D): arrayOfIBGRAVertex3D; overload;
     265    function Add(const pts_128: array of TPoint3D_128): arrayOfIBGRAVertex3D; overload;
     266    procedure Add(const pts: array of IBGRAVertex3D); overload;
     267    procedure Add(AVertex: IBGRAVertex3D); overload;
    268268    function GetTotalNormalCount: integer;
    269269    function IndexOf(AVertex: IBGRAVertex3D): integer;
     
    282282    function GetContainer: IBGRAPart3D;
    283283    procedure ResetTransform;
    284     procedure Scale(size: single; Before: boolean = true);
    285     procedure Scale(x,y,z: single; Before: boolean = true);
    286     procedure Scale(size: TPoint3D; Before: boolean = true);
     284    procedure Scale(size: single; Before: boolean = true); overload;
     285    procedure Scale(x,y,z: single; Before: boolean = true); overload;
     286    procedure Scale(size: TPoint3D; Before: boolean = true); overload;
    287287    procedure SetMatrix(const AValue: TMatrix3D);
    288288    procedure SetNormal(AIndex: Integer; AValue: IBGRANormal3D);
    289289    procedure SetVertex(AIndex: Integer; AValue: IBGRAVertex3D);
    290     procedure Translate(x,y,z: single; Before: boolean = true);
    291     procedure Translate(ofs: TPoint3D; Before: boolean = true);
     290    procedure Translate(x,y,z: single; Before: boolean = true); overload;
     291    procedure Translate(ofs: TPoint3D; Before: boolean = true); overload;
    292292    procedure RotateXDeg(angle: single; Before: boolean = true);
    293293    procedure RotateYDeg(angle: single; Before: boolean = true);
     
    418418    procedure ForEachFace(ACallback: TFace3DCallback);
    419419    function AddFaceReversed(const AVertices: array of IBGRAVertex3D): IBGRAFace3D;
    420     function AddFace(const AVertices: array of IBGRAVertex3D): IBGRAFace3D;
    421     function AddFace(const AVertices: array of IBGRAVertex3D; ABiface: boolean): IBGRAFace3D;
    422     function AddFace(const AVertices: array of IBGRAVertex3D; ATexture: IBGRAScanner): IBGRAFace3D;
    423     function AddFace(const AVertices: array of IBGRAVertex3D; AColor: TBGRAPixel): IBGRAFace3D;
    424     function AddFace(const AVertices: array of IBGRAVertex3D; AColors: array of TBGRAPixel): IBGRAFace3D;
     420    function AddFace(const AVertices: array of IBGRAVertex3D): IBGRAFace3D; overload;
     421    function AddFace(const AVertices: array of IBGRAVertex3D; ABiface: boolean): IBGRAFace3D; overload;
     422    function AddFace(const AVertices: array of IBGRAVertex3D; ATexture: IBGRAScanner): IBGRAFace3D; overload;
     423    function AddFace(const AVertices: array of IBGRAVertex3D; AColor: TBGRAPixel): IBGRAFace3D; overload;
     424    function AddFace(const AVertices: array of IBGRAVertex3D; AColors: array of TBGRAPixel): IBGRAFace3D; overload;
    425425    procedure Update;
    426426    procedure SetBiface(AValue : boolean);
Note: See TracChangeset for help on using the changeset viewer.