Preparing search index...
The search index is not available
@spissvinkel/maths - v1.2.0
@spissvinkel/maths
vec4
unitX
Function unitX
unitX
(
)
:
Vec4
Creates a new 4D unit vector along the x-axis
Returns
Vec4
the new 4D unit vector
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
@spissvinkel/maths -
v1.2.0
index
mat2
mat3
mat4
maths
vec2
vec3
vec4
of
ofV
of
V3
zero
one
unitX
unitY
unitZ
unitW
set
Zero
set
One
set
UnitX
set
UnitY
set
UnitZ
set
UnitW
setV
set
V3
set
addV
addVInto
subV
subVInto
add
Mul
add
Mul
Into
mulV
mulVInto
mul
mul
Into
pow
pow
Into
inv
inv
Into
clampV
clampVInto
clamp
clamp
Into
clamp01
clamp01
Into
lerp
lerpE
lerp2
equals
to
String
Generated using
TypeDoc
Creates a new 4D unit vector along the x-axis