-
-
Notifications
You must be signed in to change notification settings - Fork 56
0thElement edited this page Apr 10, 2023
·
1 revision
Descriptions
A vector of 2 components.
Remarks
_
Name | Type | Description |
---|---|---|
x |
number | The x component |
y |
number | The y component |
Remarks
_
Descriptions
Mirror the x component around axis
Parameters
Name | Type | Description |
---|---|---|
axis |
number | The axis to mirror around |
Return types
Remarks
_
Descriptions
Mirror the y component around axis
Parameters
Name | Type | Description |
---|---|---|
axis |
number | The axis to mirror around |
Return types
Remarks
_
Operator | Return type | Description |
---|---|---|
+ |
XY | Add two vectors, or a vector with a number, or a number with a vector together |
- |
XY | Subtract two vectors, or a vector with a number, or a number with a vector together |
* |
XY | Multiply a vector with a number, or a number with a vector together |
/ |
XY | Divide a vector with a number |