Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

Vec4Trait

Fully qualified path: cubit::f128::types::vec4::Vec4Trait

trait Vec4Trait

Trait functions

new

Fully qualified path: cubit::f128::types::vec4::Vec4Trait::new

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

splat

Fully qualified path: cubit::f128::types::vec4::Vec4Trait::splat

fn splat(v: Fixed) -> Vec4

abs

Fully qualified path: cubit::f128::types::vec4::Vec4Trait::abs

fn abs(self: Vec4) -> Vec4

dot

Fully qualified path: cubit::f128::types::vec4::Vec4Trait::dot

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

floor

Fully qualified path: cubit::f128::types::vec4::Vec4Trait::floor

fn floor(self: Vec4) -> Vec4

norm

Fully qualified path: cubit::f128::types::vec4::Vec4Trait::norm

fn norm(self: Vec4) -> Fixed

add

Fully qualified path: cubit::f128::types::vec4::Vec4Trait::add

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

sub

Fully qualified path: cubit::f128::types::vec4::Vec4Trait::sub

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

mul

Fully qualified path: cubit::f128::types::vec4::Vec4Trait::mul

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

div

Fully qualified path: cubit::f128::types::vec4::Vec4Trait::div

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

rem

Fully qualified path: cubit::f128::types::vec4::Vec4Trait::rem

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