Whitespace cleanup.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@859 67173fc5-114c-0410-ac8e-9d2fd5bffc1fpull/1/head
parent
6744cb32bc
commit
3bf11785c8
|
@ -214,57 +214,57 @@ extern ( C ) {
|
||||||
// Note: The AI_PRIMITIVE_TYPE_FOR_N_INDICES(n) macro from the C headers is
|
// Note: The AI_PRIMITIVE_TYPE_FOR_N_INDICES(n) macro from the C headers is
|
||||||
// missing since there is probably not much use for it when just reading
|
// missing since there is probably not much use for it when just reading
|
||||||
// scene files.
|
// scene files.
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOT CURRENTLY IN USE. An AnimMesh is an attachment to an #aiMesh stores
|
* NOT CURRENTLY IN USE. An AnimMesh is an attachment to an #aiMesh stores
|
||||||
* per-vertex animations for a particular frame.
|
* per-vertex animations for a particular frame.
|
||||||
*
|
*
|
||||||
* You may think of an <code>aiAnimMesh</code> as a `patch` for the host
|
* You may think of an <code>aiAnimMesh</code> as a `patch` for the host
|
||||||
* mesh, which replaces only certain vertex data streams at a particular
|
* mesh, which replaces only certain vertex data streams at a particular
|
||||||
* time.
|
* time.
|
||||||
*
|
*
|
||||||
* Each mesh stores n attached attached meshes (<code>aiMesh.mAnimMeshes</code>).
|
* Each mesh stores n attached attached meshes (<code>aiMesh.mAnimMeshes</code>).
|
||||||
* The actual relationship between the time line and anim meshes is
|
* The actual relationship between the time line and anim meshes is
|
||||||
* established by #aiMeshAnim, which references singular mesh attachments
|
* established by #aiMeshAnim, which references singular mesh attachments
|
||||||
* by their ID and binds them to a time offset.
|
* by their ID and binds them to a time offset.
|
||||||
*/
|
*/
|
||||||
struct aiAnimMesh {
|
struct aiAnimMesh {
|
||||||
/**
|
/**
|
||||||
* Replacement for aiMesh.mVertices.
|
* Replacement for aiMesh.mVertices.
|
||||||
*
|
*
|
||||||
* If this array is non-null, it *must* contain mNumVertices entries.
|
* If this array is non-null, it *must* contain mNumVertices entries.
|
||||||
* The corresponding array in the host mesh must be non-null as well -
|
* The corresponding array in the host mesh must be non-null as well -
|
||||||
* animation meshes may neither add or nor remove vertex components (if
|
* animation meshes may neither add or nor remove vertex components (if
|
||||||
* a replacement array is NULL and the corresponding source array is
|
* a replacement array is NULL and the corresponding source array is
|
||||||
* not, the source data is taken instead).
|
* not, the source data is taken instead).
|
||||||
*/
|
*/
|
||||||
aiVector3D* mVertices;
|
aiVector3D* mVertices;
|
||||||
|
|
||||||
/// Replacement for <code>aiMesh.mNormals</code>.
|
/// Replacement for <code>aiMesh.mNormals</code>.
|
||||||
aiVector3D* mNormals;
|
aiVector3D* mNormals;
|
||||||
|
|
||||||
/// Replacement for <code>aiMesh.mTangents</code>.
|
/// Replacement for <code>aiMesh.mTangents</code>.
|
||||||
aiVector3D* mTangents;
|
aiVector3D* mTangents;
|
||||||
|
|
||||||
/// Replacement for <code>aiMesh.mBitangents</code>.
|
/// Replacement for <code>aiMesh.mBitangents</code>.
|
||||||
aiVector3D* mBitangents;
|
aiVector3D* mBitangents;
|
||||||
|
|
||||||
/// Replacement for <code>aiMesh.mColors</code>.
|
/// Replacement for <code>aiMesh.mColors</code>.
|
||||||
aiColor4D* mColors[ AI_MAX_NUMBER_OF_COLOR_SETS ];
|
aiColor4D* mColors[ AI_MAX_NUMBER_OF_COLOR_SETS ];
|
||||||
|
|
||||||
/// Replacement for <code>aiMesh.mTextureCoords</code>.
|
/// Replacement for <code>aiMesh.mTextureCoords</code>.
|
||||||
aiVector3D* mTextureCoords[ AI_MAX_NUMBER_OF_TEXTURECOORDS ];
|
aiVector3D* mTextureCoords[ AI_MAX_NUMBER_OF_TEXTURECOORDS ];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The number of vertices in the aiAnimMesh, and thus the length of all
|
* The number of vertices in the aiAnimMesh, and thus the length of all
|
||||||
* the member arrays.
|
* the member arrays.
|
||||||
*
|
*
|
||||||
* This has always the same value as the mNumVertices property in the
|
* This has always the same value as the mNumVertices property in the
|
||||||
* corresponding aiMesh. It is duplicated here merely to make the length
|
* corresponding aiMesh. It is duplicated here merely to make the length
|
||||||
* of the member arrays accessible even if the aiMesh is not known, e.g.
|
* of the member arrays accessible even if the aiMesh is not known, e.g.
|
||||||
* from language bindings.
|
* from language bindings.
|
||||||
*/
|
*/
|
||||||
uint mNumVertices;
|
uint mNumVertices;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -449,15 +449,15 @@ extern ( C ) {
|
||||||
* - Vertex animations refer to meshes by their names.
|
* - Vertex animations refer to meshes by their names.
|
||||||
*/
|
*/
|
||||||
aiString mName;
|
aiString mName;
|
||||||
|
|
||||||
/// NOT CURRENTLY IN USE. The number of attachment meshes.
|
/// NOT CURRENTLY IN USE. The number of attachment meshes.
|
||||||
uint mNumAnimMeshes;
|
uint mNumAnimMeshes;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* NOT CURRENTLY IN USE. Attachment meshes for this mesh, for vertex-
|
* NOT CURRENTLY IN USE. Attachment meshes for this mesh, for vertex-
|
||||||
* based animation.
|
* based animation.
|
||||||
*
|
*
|
||||||
* Attachment meshes carry replacement data for some of the mesh's
|
* Attachment meshes carry replacement data for some of the mesh's
|
||||||
* vertex components (usually positions, normals).
|
* vertex components (usually positions, normals).
|
||||||
*/
|
*/
|
||||||
aiAnimMesh** mAnimMeshes;
|
aiAnimMesh** mAnimMeshes;
|
||||||
|
|
Loading…
Reference in New Issue