math docs
    Preparing search index...

    Function size

    • Calculate the size (dimensions) of a bounding box

      Parameters

      • out: vec3.Vec3

        The output Vec3 for the size

      • box: readonly [number, number, number, number, number, number]

        The input Box3

      Returns vec3.Vec3

      The size (width, height, depth)