Skip to content

Are the random_sampling and sampling_primitives examples redundant? #15823

@rparrett

Description

@rparrett

Bevy version

main

What you did

cargo run --example random_sampling
Added in #13507

cargo run --example sampling_primitives
Added in #13519

What went wrong

These examples appear to be extremely similar, and their docs even have identical descriptions.

//! This example shows how to sample random points from primitive shapes.

Additional information

It appears that this isn't a mistake, so I would suggest updating the description of either or both examples to explain what each of them is accomplishing.

But they seem totally redundant to me, so removing one may be an option.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-MathFundamental domain-agnostic mathematical operationsC-BugAn unexpected or incorrect behaviorC-ExamplesAn addition or correction to our examplesD-TrivialNice and easy! A great choice to get started with BevyS-Ready-For-ImplementationThis issue is ready for an implementation PR. Go for it!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions