WIP2000
This commit is contained in:
parent
2a672e2126
commit
436dc93441
9 changed files with 221 additions and 210 deletions
|
@ -730,6 +730,7 @@ impl MulAssign<f32> for Pixels {
|
|||
}
|
||||
|
||||
impl Pixels {
|
||||
pub const ZERO: Pixels = Pixels(0.0);
|
||||
pub const MAX: Pixels = Pixels(f32::MAX);
|
||||
|
||||
pub fn as_usize(&self) -> usize {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue