Assimp
v3.1.1 (June 2014)
|
◆ AI_AC_CHECKED_LOAD_FLOAT_ARRAY
#define AI_AC_CHECKED_LOAD_FLOAT_ARRAY |
( |
|
name, |
|
|
|
name_length, |
|
|
|
num, |
|
|
|
out |
|
) |
| |
Value:
if (name_length) \
{ \
if (strncmp(buffer,
name,name_length) || !
IsSpace(buffer[name_length])) \
{ \
DefaultLogger::get()->error(
"AC3D: Unexpexted token. " name " was expected."); \
continue; \
} \
buffer += name_length+1; \
} \
for (
unsigned int i = 0; i <
num;++i) \
{ \
AI_AC_SKIP_TO_NEXT_TOKEN(); \
buffer = fast_atoreal_move<float>(buffer,((
float*)
out)[i]); \
}
◆ AI_AC_GET_STRING
#define AI_AC_GET_STRING |
( |
|
out | ) |
|
Value:if (*buffer == '\0') { \
} \
++buffer; \
const char* sz = buffer; \
while ('\"' != *buffer) \
{ \
{ \
DefaultLogger::get()->error("AC3D: Unexpected EOF/EOL in string"); \
out = "ERROR"; \
break; \
} \
++buffer; \
} \
out = std::string(sz,(unsigned int)(buffer-sz)); \
++buffer;
◆ AI_AC_SKIP_TO_NEXT_TOKEN
#define AI_AC_SKIP_TO_NEXT_TOKEN |
( |
| ) |
|
Value:
{ \
DefaultLogger::get()->error("AC3D: Unexpected EOF/EOL"); \
continue; \
}
◆ desc
Initial value:= {
"AC3D Importer",
"",
"",
"",
0,
0,
0,
0,
"ac acc ac3d"
}
static unsigned int num[10][4]
Definition: utSortByPType.cpp:65
std::runtime_error DeadlyImportError
Definition: glTFAsset.h:97
AI_FORCE_INLINE bool SkipSpaces(const char_t *in, const char_t **out)
Definition: ParsingUtils.h:115
AI_FORCE_INLINE bool IsLineEnd(char_t in)
Definition: ParsingUtils.h:101
FILE * out
Definition: WriteDumb.cpp:62
#define AI_AC_SKIP_TO_NEXT_TOKEN()
Definition: ACLoader.cpp:82
const std::string name
Definition: D3MFImporter.cpp:91
Indicates that there is a textual encoding of the file format; and that it is supported.
Definition: importerdesc.h:55
AI_FORCE_INLINE bool IsSpace(char_t in)
Definition: ParsingUtils.h:94