diff options
author | dec05eba <dec05eba@protonmail.com> | 2022-01-30 20:32:45 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2022-01-30 20:32:45 +0100 |
commit | 9fb786892aa1bc144c89489d795f1e077606a716 (patch) | |
tree | e2fc7a0e2118605d9bbd9e0b81121014df28a402 /README.md | |
parent | c0699596c6c78dbf54f70d119d22edd7eebbb1fd (diff) |
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -6,22 +6,22 @@ To see a list of supported file formats, see https://github.com/assimp/assimp#su |Type |Description | |-------|-------------------------------------------------------------------------------------| -|uint |The magic number, the value will always be 0x036144AF. | -|uint |Version of the file format. This is backwards compatible but not forwards compatible.| +|u32 |The magic number, the value will always be 0x036144AF. | +|u32 |Version of the file format. This is backwards compatible but not forwards compatible.| |mesh[] |The mesh data. | mesh: |Type |Description | |-----------|------------------------------------------------------------------------------------------------| -|uint |The number of vertices, normals and optionally texture coordinates. | +|u32 |The number of vertices, normals and optionally texture coordinates. | |vec3f[] |A list of vertices. | |vec3f[] |A list of normals. | -|uint |1 if the model has texture coordinates, otherwise 0. | +|u32 |1 if the model has texture coordinates, otherwise 0. | |vec2f[]* |A list of texture coordinates. The number of texture coordinates matches the number of vertices.| -|uint |The number of faces. | +|u32 |The number of faces. | |face[] |The face indices. | -|uint |1 if the model has materials, otherwise 0. | +|u32 |1 if the model has materials, otherwise 0. | |material[3]|The material data. This is a list of [diffuse, specular, ambient] materials. | vec2f: @@ -43,15 +43,15 @@ face: |Type|Description | |----|-----------------| -|uint|The first index. | -|uint|The second index.| -|uint|The third index. | +|u32 |The first index. | +|u32 |The second index.| +|u32 |The third index. | material: |Type |Description | |------|---------------------------------------------------------------------------| -|uint |The number of textures. | +|u32 |The number of textures. | |char[]|The filepaths to the textures (relative). This is a null-terminated string.| ## TODO |