diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-02-29 01:09:55 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-02-29 01:09:55 +0100 |
commit | 211c2333db31286db24d262441b4fcc263305e4d (patch) | |
tree | 86e9a7e587586d57860eb0d3451ff4583db85d7b | |
parent | e6b3c513aca973a99fc4ae638434c63b5e26abaa (diff) |
update doc
-rw-r--r-- | README.md | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -10,17 +10,17 @@ All types are stored in little endian format. Any type with a * is optional. |mesh[] |The mesh data. | mesh: -|Type |Description | -|-----------|-------------------------------------------------------------------------------------| -|uint |The number of vertices, normals and optionally texture coordinates. | -|vec3f[] |A list of vertices. | -|vec3f[] |A list of normals. | -|uint |The number of faces. Each face has 3 indices of type uint. | -|uint[] |The face indices. | -|uint |1 if the model has texture coordinates, otherwise 0. | -|vec3f[]* |A list of texture coordinates. | -|uint |1 if the model has materials, otherwise 0. | -|material[3]|The material data. This is a list of [diffuse, specular, ambient] materials. | +|Type |Description | +|-----------|------------------------------------------------------------------------------------------------| +|uint |The number of vertices, normals and optionally texture coordinates. | +|vec3f[] |A list of vertices. | +|vec3f[] |A list of normals. | +|uint |The number of faces. Each face has 3 indices of type uint. | +|uint[] |The face indices. | +|uint |1 if the model has texture coordinates, otherwise 0. | +|vec3f[]* |A list of texture coordinates. The number of texture coordinates matches the number of vertices.| +|uint |1 if the model has materials, otherwise 0. | +|material[3]|The material data. This is a list of [diffuse, specular, ambient] materials. | vec3f: |Type |Description | |