Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

Vec4Impl

Fully qualified path: cubit::f64::types::vec4::Vec4Impl

impl Vec4Impl of Vec4Trait;

Impl functions

new

Fully qualified path: cubit::f64::types::vec4::Vec4Impl::new

fn new(x: Fixed, y: Fixed, z: Fixed, w: Fixed) -> Vec4

splat

Fully qualified path: cubit::f64::types::vec4::Vec4Impl::splat

fn splat(v: Fixed) -> Vec4

abs

Fully qualified path: cubit::f64::types::vec4::Vec4Impl::abs

fn abs(self: Vec4) -> Vec4

dot

Fully qualified path: cubit::f64::types::vec4::Vec4Impl::dot

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

floor

Fully qualified path: cubit::f64::types::vec4::Vec4Impl::floor

fn floor(self: Vec4) -> Vec4

norm

Fully qualified path: cubit::f64::types::vec4::Vec4Impl::norm

fn norm(self: Vec4) -> Fixed

add

Fully qualified path: cubit::f64::types::vec4::Vec4Impl::add

fn add(self: Vec4, scalar: Fixed) -> Vec4

sub

Fully qualified path: cubit::f64::types::vec4::Vec4Impl::sub

fn sub(self: Vec4, scalar: Fixed) -> Vec4

mul

Fully qualified path: cubit::f64::types::vec4::Vec4Impl::mul

fn mul(self: Vec4, scalar: Fixed) -> Vec4

div

Fully qualified path: cubit::f64::types::vec4::Vec4Impl::div

fn div(self: Vec4, scalar: Fixed) -> Vec4

rem

Fully qualified path: cubit::f64::types::vec4::Vec4Impl::rem

fn rem(self: Vec4, scalar: Fixed) -> Vec4