Adding double precision import support for formats that can be exported

This commit is contained in:
Chris Russ
2016-07-16 12:14:36 +10:00
parent fa1d6d8c55
commit 05a6ee6473
26 changed files with 204 additions and 233 deletions

View File

@@ -82,7 +82,7 @@ struct Material
std::string mName;
bool mIsReference; // if true, mName holds a name by which the actual material can be found in the material list
aiColor4D mDiffuse;
float mSpecularExponent;
ai_real mSpecularExponent;
aiColor3D mSpecular;
aiColor3D mEmissive;
std::vector<TexEntry> mTextures;
@@ -100,7 +100,7 @@ struct Material
struct BoneWeight
{
unsigned int mVertex;
float mWeight;
ai_real mWeight;
};
/** Helper structure to represent a bone in a mesh */