From 058f98a63658dc1a2579826ba167fd61bed1e21f Mon Sep 17 00:00:00 2001 From: sanine Date: Fri, 4 Mar 2022 10:47:15 -0600 Subject: add assimp submodule --- src/mesh/assimp-master/port/swig/interface/aiScene.i | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/mesh/assimp-master/port/swig/interface/aiScene.i (limited to 'src/mesh/assimp-master/port/swig/interface/aiScene.i') diff --git a/src/mesh/assimp-master/port/swig/interface/aiScene.i b/src/mesh/assimp-master/port/swig/interface/aiScene.i new file mode 100644 index 0000000..7278f33 --- /dev/null +++ b/src/mesh/assimp-master/port/swig/interface/aiScene.i @@ -0,0 +1,17 @@ +%{ +#include "aiScene.h" +%} + + +ASSIMP_ARRAY(aiScene, aiAnimation*, mAnimations, $self->mNumAnimations); +ASSIMP_ARRAY(aiScene, aiCamera*, mCameras, $self->mNumCameras); +ASSIMP_ARRAY(aiScene, aiLight*, mLights, $self->mNumLights); +ASSIMP_ARRAY(aiScene, aiMaterial*, mMaterials, $self->mNumMaterials); +ASSIMP_ARRAY(aiScene, aiMesh*, mMeshes, $self->mNumMeshes); +ASSIMP_ARRAY(aiScene, aiTexture*, mTextures, $self->mNumTextures); + +ASSIMP_ARRAY(aiNode, aiNode*, mChildren, $self->mNumChildren); +ASSIMP_ARRAY(aiNode, unsigned int, mMeshes, $self->mNumMeshes); + + +%include "aiScene.h" -- cgit v1.2.1