Remove Drawable and rename State to Program
This commit is contained in:
parent
7f1e7aea07
commit
2539042b71
11 changed files with 202 additions and 304 deletions
|
|
@ -135,8 +135,8 @@ impl From<Rectangle<f32>> for Rectangle<u32> {
|
|||
Rectangle {
|
||||
x: rectangle.x as u32,
|
||||
y: rectangle.y as u32,
|
||||
width: rectangle.width.ceil() as u32,
|
||||
height: rectangle.height.ceil() as u32,
|
||||
width: (rectangle.width + 0.5).round() as u32,
|
||||
height: (rectangle.height + 0.5).round() as u32,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue