Changeset 521 for GraphicTest/Packages/bgrabitmap/bgrascenetypes.pas
- Timestamp:
- Apr 17, 2019, 12:58:41 AM (5 years ago)
- Location:
- GraphicTest
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GraphicTest
- Property svn:ignore
-
old new 8 8 GraphicTest.lps 9 9 GraphicTest.dbg 10 heaptrclog.trc
-
- Property svn:ignore
-
GraphicTest/Packages/bgrabitmap/bgrascenetypes.pas
r494 r521 253 253 IBGRAPart3D = interface 254 254 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; 268 268 function GetTotalNormalCount: integer; 269 269 function IndexOf(AVertex: IBGRAVertex3D): integer; … … 282 282 function GetContainer: IBGRAPart3D; 283 283 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; 287 287 procedure SetMatrix(const AValue: TMatrix3D); 288 288 procedure SetNormal(AIndex: Integer; AValue: IBGRANormal3D); 289 289 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; 292 292 procedure RotateXDeg(angle: single; Before: boolean = true); 293 293 procedure RotateYDeg(angle: single; Before: boolean = true); … … 418 418 procedure ForEachFace(ACallback: TFace3DCallback); 419 419 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; 425 425 procedure Update; 426 426 procedure SetBiface(AValue : boolean);
Note:
See TracChangeset
for help on using the changeset viewer.