///Create a rectangle at the origin with the given size
Create a rectangle at the origin with the given size
Create a rectangle at the origin with the given size
pub fn new_sized(size: Vector) -> Rectangle {
        Rectangle {
            pos: Vector::ZERO,
            size,
        }
    }
pub fn new_sized ( size : Vector ) -> Rectangle { Rectangle { pos : Vector :: ZERO , size , } }
Create a rectangle at the origin with the given size
Create a rectangle at the origin with the given size
size
Vector