Replace some Point2D::new(0, 0) instances with Point2D::zero() (#33783)

Signed-off-by: hackerbirds <120066692+hackerbirds@users.noreply.github.com>
This commit is contained in:
birdbrained 2024-10-10 18:20:51 +00:00 committed by GitHub
parent b58cee48ce
commit 1668b12ded
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 5 additions and 5 deletions

View file

@ -285,7 +285,7 @@ mod test {
#[test]
fn test() {
let pos = Point2D::new(0, 0);
let pos = Point2D::zero();
let viewport = Size2D::new(800, 600);
let screen = Size2D::new(1080, 720);
let coordinates = EmbedderCoordinates {