compressVertices
Compresses and packs geometry normal attribute values to save memory.
geometry = GeometryPipeline.compressVertices(geometry);
Content copied to clipboard
Return
The modified geometry
argument, with its normals compressed and packed.
Parameters
geometry
The geometry to modify.