Skip to content

A bug about 'CreateMeshFromWholeScene.cs' bounding box calculation #12

@wuxukun

Description

@wuxukun

CreateMeshFromWholeScene.cs line:188 of the script
' var b = bounds[index]; '
Must be changed to
' var b = new float3x2(new float3(float.PositiveInfinity), new float3(float.NegativeInfinity)); '
Because the ' bounds ' variable must be initialized to PositiveInfinity and NegativeInfinity.
Otherwise, its initial size cannot be guaranteed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions