00001 00002 00003 00004 // test if surface has texture; 0=no, 1=yes. 00005 // iAtt = GA_ObjTab[gaNr].iatt; 00006 // if(GA_hasTexture(iAtt) == 1) .. yes 00007 // ((ColRGB*)&GA_ObjTab[gaNr].iatt)->vtex 00008 #define GA_hasTexture(iAtt)\ 00009 ((ColRGB*)&iAtt)->vtex 00010 00011 00012 // get TextureReference-Index 00013 // i1 = GA_getTexRefInd(iAtt); 00014 // i1 = ((stru_c3c1*)&GA_ObjTab[gaNr].iatt)->b123; 00015 #define GA_getTexRefInd(iAtt)\ 00016 ((stru_c3c1*)&iAtt)->b123 00017 00018 00019 // EOF