MCPcopy Create free account
hub / github.com/assimp/assimp / print_usage

Function print_usage

samples/SimpleOpenGL/Sample_SimpleOpenGL.c:45–59  ·  view source on GitHub ↗

---------------------------------------------------------------------------- */

Source from the content-addressed store, hash-verified

43
44/* ---------------------------------------------------------------------------- */
45inline 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 */
62const C_STRUCT aiScene* scene = NULL;

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected