234235236237238239240241242243244
Vector3f vn = new Vector3f(); vn.setHalf(half); vn.read(in); normals.add(vn); if (half && channel != null && channel.dimension == 4) { in.skipBytes(2); // padding? } break; case CHANNEL_COLORS: Color32 c = new Color32();
194195196197198199200201202203204
// write struct bb.put(bbStruct); // write padding out.skipBytes(padding); // write data bb.put(bbData); }