265266267268269270271272273274275
tangents.add(t); break; } } in.align(stream.stride.intValue()); } } } private void readIndexBuffer() throws IOException {
170171172173174175176177178179180
refTable.write(outStruct); // align block to 16 bytes int structSize = bosStruct.size(); int structAlign = 16; outStruct.align(structAlign); ByteBuffer bbStruct = ByteBuffer.wrap(bosStruct.toByteArray()); // calculate padding int minSize = 4096;