normals

  • Generates flat vertex normals for mesh primitives.

    Example:

    import { normals } from '@gltf-transform/functions';
    
    await document.transform(normals({overwrite: true}));
    
Function symbol, where the argument and output are a box labeled 'glTF'.

Made by Don McCurdy. Documentation built with greendoc and published under Creative Commons Attribution 3.0.