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:
parent
e0c296ee14
commit
f84672b900
@ -146,7 +146,7 @@ impl From<Box> for Mesh {
|
|||||||
/// A rectangle on the `XY` plane centered at the origin.
|
/// A rectangle on the `XY` plane centered at the origin.
|
||||||
#[deprecated(
|
#[deprecated(
|
||||||
since = "0.13.0",
|
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)]
|
#[derive(Debug, Copy, Clone)]
|
||||||
pub struct Quad {
|
pub struct Quad {
|
||||||
|
Loading…
Reference in New Issue
Block a user