---------------------------------------------------------------------------- */
| 43 | |
| 44 | /* ---------------------------------------------------------------------------- */ |
| 45 | inline static void print_usage() { |
| 46 | static const char* usage_format = |
| 47 | "Usage: " |
| 48 | PROJECT_NAME |
| 49 | " <file>" DOUBLE_NEW_LINE |
| 50 | "where:" DOUBLE_NEW_LINE |
| 51 | " %-10s %s" DOUBLE_NEW_LINE |
| 52 | "options:" DOUBLE_NEW_LINE |
| 53 | " %-10s %s" DOUBLE_NEW_LINE; |
| 54 | printf(usage_format, |
| 55 | // where |
| 56 | "file", "The input model file to load.", |
| 57 | // options |
| 58 | COMMAND_USAGE, "Display usage."); |
| 59 | } |
| 60 | |
| 61 | /* the global Assimp scene object */ |
| 62 | const C_STRUCT aiScene* scene = NULL; |