@@ -214,57 +214,57 @@ extern ( C ) {
214
214
// Note: The AI_PRIMITIVE_TYPE_FOR_N_INDICES(n) macro from the C headers is
215
215
// missing since there is probably not much use for it when just reading
216
216
// scene files.
217
-
217
+
218
218
/**
219
219
* NOT CURRENTLY IN USE. An AnimMesh is an attachment to an #aiMesh stores
220
220
* per-vertex animations for a particular frame.
221
- *
221
+ *
222
222
* You may think of an <code >aiAnimMesh</code> as a `patch` for the host
223
223
* mesh, which replaces only certain vertex data streams at a particular
224
224
* time.
225
- *
225
+ *
226
226
* Each mesh stores n attached attached meshes (<code >aiMesh.mAnimMeshes</code>).
227
- * The actual relationship between the time line and anim meshes is
227
+ * The actual relationship between the time line and anim meshes is
228
228
* established by #aiMeshAnim, which references singular mesh attachments
229
229
* by their ID and binds them to a time offset.
230
230
*/
231
231
struct aiAnimMesh {
232
- /**
233
- * Replacement for aiMesh.mVertices.
234
- *
235
- * If this array is non-null, it *must* contain mNumVertices entries.
236
- * The corresponding array in the host mesh must be non-null as well -
237
- * animation meshes may neither add or nor remove vertex components (if
238
- * a replacement array is NULL and the corresponding source array is
239
- * not, the source data is taken instead).
240
- */
241
- aiVector3D* mVertices;
242
-
243
- // / Replacement for <code>aiMesh.mNormals</code>.
244
- aiVector3D* mNormals;
245
-
246
- // / Replacement for <code>aiMesh.mTangents</code>.
247
- aiVector3D* mTangents;
248
-
249
- // / Replacement for <code>aiMesh.mBitangents</code>.
250
- aiVector3D* mBitangents;
251
-
252
- // / Replacement for <code>aiMesh.mColors</code>.
253
- aiColor4D* mColors[ AI_MAX_NUMBER_OF_COLOR_SETS ];
254
-
255
- // / Replacement for <code>aiMesh.mTextureCoords</code>.
256
- aiVector3D* mTextureCoords[ AI_MAX_NUMBER_OF_TEXTURECOORDS ];
257
-
258
- /**
259
- * The number of vertices in the aiAnimMesh, and thus the length of all
260
- * the member arrays.
261
- *
262
- * This has always the same value as the mNumVertices property in the
263
- * corresponding aiMesh. It is duplicated here merely to make the length
264
- * of the member arrays accessible even if the aiMesh is not known, e.g.
265
- * from language bindings.
266
- */
267
- uint mNumVertices;
232
+ /**
233
+ * Replacement for aiMesh.mVertices.
234
+ *
235
+ * If this array is non-null, it *must* contain mNumVertices entries.
236
+ * The corresponding array in the host mesh must be non-null as well -
237
+ * animation meshes may neither add or nor remove vertex components (if
238
+ * a replacement array is NULL and the corresponding source array is
239
+ * not, the source data is taken instead).
240
+ */
241
+ aiVector3D* mVertices;
242
+
243
+ // / Replacement for <code>aiMesh.mNormals</code>.
244
+ aiVector3D* mNormals;
245
+
246
+ // / Replacement for <code>aiMesh.mTangents</code>.
247
+ aiVector3D* mTangents;
248
+
249
+ // / Replacement for <code>aiMesh.mBitangents</code>.
250
+ aiVector3D* mBitangents;
251
+
252
+ // / Replacement for <code>aiMesh.mColors</code>.
253
+ aiColor4D* mColors[ AI_MAX_NUMBER_OF_COLOR_SETS ];
254
+
255
+ // / Replacement for <code>aiMesh.mTextureCoords</code>.
256
+ aiVector3D* mTextureCoords[ AI_MAX_NUMBER_OF_TEXTURECOORDS ];
257
+
258
+ /**
259
+ * The number of vertices in the aiAnimMesh, and thus the length of all
260
+ * the member arrays.
261
+ *
262
+ * This has always the same value as the mNumVertices property in the
263
+ * corresponding aiMesh. It is duplicated here merely to make the length
264
+ * of the member arrays accessible even if the aiMesh is not known, e.g.
265
+ * from language bindings.
266
+ */
267
+ uint mNumVertices;
268
268
}
269
269
270
270
/**
@@ -449,15 +449,15 @@ extern ( C ) {
449
449
* - Vertex animations refer to meshes by their names.
450
450
*/
451
451
aiString mName;
452
-
452
+
453
453
// / NOT CURRENTLY IN USE. The number of attachment meshes.
454
454
uint mNumAnimMeshes;
455
455
456
- /**
456
+ /**
457
457
* NOT CURRENTLY IN USE. Attachment meshes for this mesh, for vertex-
458
- * based animation.
459
- *
460
- * Attachment meshes carry replacement data for some of the mesh's
458
+ * based animation.
459
+ *
460
+ * Attachment meshes carry replacement data for some of the mesh's
461
461
* vertex components (usually positions, normals).
462
462
*/
463
463
aiAnimMesh** mAnimMeshes;
0 commit comments