Update write.cpp
Update write.cpp

Undo the accessor and buffer view change to preserve identical structure for these between different elements.
zeux/meshoptimizer,zeux/meshoptimizer,zeux/meshoptimizer