bitbybit.dev v1.0.0-rc.1
    Preparing search index...

    Class CalculateNormalsDto<T>

    Type Parameters

    • T
    Index

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optionalmanifold: T
      • OptionalnormalIdx: number
      • OptionalminSharpAngle: number

      Returns CalculateNormalsDto<T>

    Properties

    manifold: T

    Manifold shape

    normalIdx: number

    The property channel in which to store the X values of the normals. The X, Y, and Z channels will be sequential. The property set will be automatically expanded to include up through normalIdx

    0
    

    0

    Infinity

    1

    minSharpAngle: number

    Any edges with angles greater than this value will remain sharp, getting different normal vector properties on each side of the edge. By default, no edges are sharp and all normals are shared. With a value of zero, the model is faceted and all normals match their triangle normals, but in this case it would be better not to calculate normals at all. The value is in degrees.

    0
    

    0

    Infinity

    1