Vec4
Summary
Constructors
|
Vec4() |
Vec4(x: float, y: float, z: float, w: float) |
Vec4(data: table) |
Properties
Methods
Operators
Static members
Constructors
Vec4
Vec4()
Vec4
Vec4(x: float, y: float, z: float, w: float)
Parameters
Name |
Type |
Description |
x |
float |
|
y |
float |
|
z |
float |
|
w |
float |
|
Vec4
Vec4(data: table)
Parameters
Name |
Type |
Description |
data |
table |
|
Properties
x
float
y
float
z
float
w
float
magnitude
float
Methods
Distance
Distance(to: Vec4): float
Parameters
Name |
Type |
Description |
to |
Vec4 |
|
Returns
Clone
Clone(): Vec4
Returns
Operators
operator+
operator+(rhs: Vec4): Vec4
Parameters
Name |
Type |
Description |
rhs |
Vec4 |
|
Returns
operator-
operator-(rhs: Vec4): Vec4
Parameters
Name |
Type |
Description |
rhs |
Vec4 |
|
Returns
operator*
operator*(rhs: Vec4): Vec4
Parameters
Name |
Type |
Description |
rhs |
Vec4 |
|
Returns
operator*
operator*(rhs: float): Vec4
Parameters
Name |
Type |
Description |
rhs |
float |
|
Returns
operator/
operator/(rhs: Vec4): Vec4
Parameters
Name |
Type |
Description |
rhs |
Vec4 |
|
Returns
operator/
operator/(rhs: float): Vec4
Parameters
Name |
Type |
Description |
rhs |
float |
|
Returns
operator==
operator==(rhs: Vec4): bool
Parameters
Name |
Type |
Description |
rhs |
Vec4 |
|
Returns
operator<
operator<(rhs: Vec4): bool
Parameters
Name |
Type |
Description |
rhs |
Vec4 |
|
Returns
Static members
typeInfo
TypeInformation
negativeInfinity
Vec4
one
Vec4
positiveInfinity
Vec4
zero
Vec4