Vec2d

Type Alias Vec2d 

Source
pub type Vec2d = DVec2;

Aliased Type§

#[repr(C)]
pub struct Vec2d { pub x: f64, pub y: f64, }

Fields§

§x: f64§y: f64

Trait Implementations§

Source§

impl Vec2Ext for Vec2d

Source§

type Scalar = f64

Source§

fn from_angle(radians: f64) -> Vec2d

Source§

fn rotate_90(self) -> Self

Source§

fn rotate_270(self) -> Self

Source§

fn rotate(self, radians: Self::Scalar) -> Self