cross
Returns the cross product of two float3 vectors.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: Unity.Mathematics
- Assembly: UnityEngine.MathematicsModule
cross(float3, float3)
Returns the cross product of two float3 vectors.
public static float3 cross(float3 x, float3 y)
Parameters
Returns
Type | Description |
|---|---|
| float3 | The cross product of x and y. |
cross(double3, double3)
Returns the cross product of two double3 vectors.
public static double3 cross(double3 x, double3 y)
Parameters
Returns
Type | Description |
|---|---|
| double3 | The cross product of x and y. |