demo: Optimize packMesh in Debug
demo: Optimize packMesh in Debug

Instead of repeatedly calling operator[], cache the results in reference
variables.

zeux/meshoptimizer,zeux/meshoptimizer,zeux/meshoptimizer