Assimp
v4.1. (December 2018)
|
◆ 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])) \
{ \
ASSIMP_LOG_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) \
{ \
{ \
ASSIMP_LOG_ERROR("AC3D: Unexpected EOF/EOL in string"); \
out = "ERROR"; \
break; \
} \
++buffer; \
} \
++buffer;
◆ AI_AC_SKIP_TO_NEXT_TOKEN
#define AI_AC_SKIP_TO_NEXT_TOKEN |
( |
| ) |
|
Value:
{ \
ASSIMP_LOG_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:72
AI_FORCE_INLINE bool SkipSpaces(const char_t *in, const char_t **out)
Definition: ParsingUtils.h:119
AI_FORCE_INLINE bool IsLineEnd(char_t in)
Definition: ParsingUtils.h:105
::std::string string
Definition: gtest-port.h:1097
FILE * out
Definition: WriteDumb.cpp:64
std::runtime_error DeadlyImportError
Definition: glTFCommon.h:95
bool IsSpace(char ch)
Definition: gtest-port.h:2263
#define AI_AC_SKIP_TO_NEXT_TOKEN()
Definition: ACLoader.cpp:85
static const std::string name
Definition: 3MFXmlTags.h:72
Indicates that there is a textual encoding of the file format; and that it is supported.
Definition: importerdesc.h:58