Fix Quad deprecation message mentioning a type that doesn't exist (#11798)

# Objective

The deprecation message of `bevy::render::mesh::shape::Quad` says that
you should use `bevy_math`'s `Quad` instead. But it doesn't exist.

## Solution

Mention the correct primitive: `Rectangle`
This commit is contained in:
Doonv 2024-02-09 22:52:30 +02:00 committed by GitHub
parent e0c296ee14
commit f84672b900
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -146,7 +146,7 @@ impl From<Box> for Mesh {
/// A rectangle on the `XY` plane centered at the origin.
#[deprecated(
since = "0.13.0",
note = "please use the `Quad` primitive in `bevy_math` instead"
note = "please use the `Rectangle` primitive in `bevy_math` instead"
)]
#[derive(Debug, Copy, Clone)]
pub struct Quad {