Make shadow optional in renderer::Quad
This commit is contained in:
parent
83902921a3
commit
b7b457a575
8 changed files with 57 additions and 46 deletions
|
|
@ -2,7 +2,7 @@
|
|||
use crate::{Color, Vector};
|
||||
|
||||
/// A shadow
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Default)]
|
||||
#[derive(Debug, Clone, Copy, PartialEq)]
|
||||
pub struct Shadow {
|
||||
/// The color of the shadow
|
||||
pub color: Color,
|
||||
|
|
@ -10,6 +10,6 @@ pub struct Shadow {
|
|||
/// The offset of the shadow
|
||||
pub offset: Vector,
|
||||
|
||||
/// The blur_radius of the shadow
|
||||
/// The blur radius of the shadow
|
||||
pub blur_radius: f32,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue