- fbx: add DOM layer to represent the parsed FBX file in-memory, capturing the essential semantics we need for importing.

This commit is contained in:
Alexander Gessler
2012-06-26 18:31:19 +02:00
parent 05b98c279b
commit 25dfbdf58d
7 changed files with 1961 additions and 1398 deletions

View File

@@ -69,6 +69,9 @@ Token::Token(const char* sbegin, const char* send, TokenType type, unsigned int
{
ai_assert(sbegin);
ai_assert(send);
// tokens must be of non-zero length
ai_assert(static_cast<size_t>(send-sbegin) > 0);
}