Skip to content

Conversation

Richard-Olsen-75
Copy link
Contributor

This will implement BoundingBox::ToMesh() and a corresponding test. It can be used to convert a mesh into a bounding box mesh by first calling Mesh::CalculateAxisAlignedBoundingBox() and then calling ToMesh() on the resulting bounding box.

/// Creates a Mesh <see cref="Mesh"/> representing the bounding box coordinates.
/// </summary>
/// <returns>Mesh representing the bounding box.</returns>
public Mesh ToBoxMesh(float error)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need a mesh instead of just creating a Box primitive?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants