From: Alois Z. <al...@gm...> - 2008-10-28 23:15:54
|
HI, Today i finally started the work on the ppc (read BE) port of ASSIMP (I need a compileable version for the weekend ;-). After making some changes to the mdx loaders and also to the LWx loader. The changes should not effect the LE code I hope so. However there is a peace of code MDR loader I can not understand and get to compile. In the function ValidateHeader there are these lines here: AI_SWAP4(pcLOD->version); AI_SWAP4(pcLOD->numBones); AI_SWAP4(pcLOD->numTags); AI_SWAP4(pcLOD->numFrames); AI_SWAP4(pcLOD->ofsFrames); AI_SWAP4(pcLOD->ofsTags); AI_SWAP4(pcLOD->numLODs); AI_SWAP4(pcLOD->ofsLODs); however there is no pcLOD param. As AI_SWAP4 is an empty define in LE you wouldn't notice the difference. Maybe this code is in the wrong place, as there is a function ValidateLODHeader(BE_NCONST MDR::LOD* pcLOD) which has the pcLOD param. Thanks for your advice, Alois |