pub type Point2D = Vec2;Expand description
Represents a 2D point in space.
Alias for Vec2.
Aliased Type§
pub struct Point2D {
pub x: f64,
pub y: f64,
}Fields§
§x: f64X component of the vector.
y: f64Y component of the vector.
pub type Point2D = Vec2;Represents a 2D point in space.
Alias for Vec2.
pub struct Point2D {
pub x: f64,
pub y: f64,
}x: f64X component of the vector.
y: f64Y component of the vector.