Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

Vec2Impl

Fully qualified path: cubit::f64::types::vec2::Vec2Impl

impl Vec2Impl of Vec2Trait;

Impl functions

new

Fully qualified path: cubit::f64::types::vec2::Vec2Impl::new

fn new(x: Fixed, y: Fixed) -> Vec2

splat

Fully qualified path: cubit::f64::types::vec2::Vec2Impl::splat

fn splat(v: Fixed) -> Vec2

abs

Fully qualified path: cubit::f64::types::vec2::Vec2Impl::abs

fn abs(self: Vec2) -> Vec2

cross

Fully qualified path: cubit::f64::types::vec2::Vec2Impl::cross

fn cross(self: Vec2, rhs: Vec2) -> Fixed

dot

Fully qualified path: cubit::f64::types::vec2::Vec2Impl::dot

fn dot(self: Vec2, rhs: Vec2) -> Fixed

floor

Fully qualified path: cubit::f64::types::vec2::Vec2Impl::floor

fn floor(self: Vec2) -> Vec2

norm

Fully qualified path: cubit::f64::types::vec2::Vec2Impl::norm

fn norm(self: Vec2) -> Fixed