blob: 28cebf1656f42b1b1924b105f0dc2ebd78bfe1f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
unit aiScene;
interface
uses aiTypes, aiMatrix4x4, aiMesh, aiMaterial, aiTexture;
type
PaiNode = ^TaiNode;
PPaiNode = ^PaiNode;
PaiNodeArray = array[0..0] of PaiNode;
PPaiNodeArray = ^PaiNodeArray;
TaiNode = packed record
mName: aiString;
mTransformation: TaiMatrix4x4;
mParent: PPaiNode;
mNumChildren: cardinal;
mChildren: PPaiNodeArray;
mNumMeshes: cardinal;
mMeshes: PCardinalArray;
end;
type TaiScene = packed record
mFlags: cardinal;
mRootNode: PaiNode;
mNumMeshes: Cardinal;
mMeshes: PPaiMeshArray; //?
mNumMaterials: Cardinal;
mMaterials: PPaiMaterialArray;
mNumAnimations: Cardinal;
mAnimations: Pointer;
mNumTextures: Cardinal;
mTextures: PPaiTextureArray;
mNumLights: Cardinal;
mLights: Pointer;
mNumCameras: Cardinal;
mCameras: Pointer;
end;
type PaiScene = ^TaiScene;
implementation
end.
|