mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue