+ size = len(u.uvs[0])
+ min_val = min(*u.uvs[0])
+ max_val = max(*u.uvs[1])
+ for c in u.uvs:
+ min_val = min(min_val, *c)
+ max_val = max(max_val, *c)
+ uv_type = "USHORT" if min_val>=0.0 and max_val<=1.0 else "FLOAT"
+ if uv_type=="FLOAT" and stride%4:
+ pad = 4-stride%4
+ st.append(Token("PADDING{}".format(pad)))
+ stride += pad