@simversus/yjvis • Docs
@simversus/yjvis / Vec4
Class: Vec4
Constructors
new Vec4()
new Vec4(
x
,y
,z
,w
):Vec4
Parameters
• x: number
= 0
• y: number
= x
• z: number
= x
• w: number
= x
Returns
Defined in
math/vec4.ts:4
Properties
elements
elements: [
number
,number
,number
,number
]
Defined in
math/vec4.ts:2
Accessors
w
get
w():number
set
w(v
):void
Parameters
• v: number
Returns
number
Defined in
math/vec4.ts:20
x
get
x():number
set
x(v
):void
Parameters
• v: number
Returns
number
Defined in
math/vec4.ts:8
y
get
y():number
set
y(v
):void
Parameters
• v: number
Returns
number
Defined in
math/vec4.ts:12
z
get
z():number
set
z(v
):void
Parameters
• v: number
Returns
number
Defined in
math/vec4.ts:16