]> git.lizzy.rs Git - shadowclad.git/blobdiff - assimp_types.h
Add the concept of a player character and load its 3D model
[shadowclad.git] / assimp_types.h
index 5869c323cf1367f1bb847ccedd6f38d63bca0bf9..5e58279290017d23ca1df232d581f0509ef01360 100644 (file)
@@ -3,6 +3,11 @@
 
 #include <assimp/scene.h>
 
+#ifdef ASSIMP_DOUBLE_PRECISION
+       #error "ASSIMP_DOUBLE_PRECISION is defined"
+       #error "shadowclad relies on ai_real defined as a single precision float"
+#endif
+
 typedef struct aiScene AiScene;
 typedef struct aiNode AiNode;
 typedef struct aiMesh AiMesh;