Square

Type Alias Square 

Source
pub type Square = Square<f32>;
Expand description

A square without rotated.

Aliased Type§

pub struct Square {
    pub x: f32,
    pub y: f32,
    pub s: f32,
}

Fields§

§x: f32

The origin x points of the square.

§y: f32

The origin y points of the square.

§s: f32

The side length of the square.