pub type Vector2 = Vector2<f32>;Expand description
A type alias of the cgmath::Vector2<f32>.
Used in this crate to describe a 2D position or size.
The equivalent type in Dear ImGui would be ImVec2.
Aliased Type§
#[repr(C)]pub struct Vector2 {
pub x: f32,
pub y: f32,
}Fields§
§x: f32The x component of the vector.
y: f32The y component of the vector.