| Parameter | Description |
|---|---|
| a | Vector to project. |
| ontoB | Non-zero vector to project onto. |
float2 Vector projection of a onto b.
Compute vector projection of a onto b.
Some finite vectors a and b could generate a non-finite result. This is most likely when a's components are very large (close to Single.MaxValue) or when b's components are very small (close to FLT_MIN_NORMAL). In these cases, you can call math.projectsafe which will use a given default value if the result is not finite.
| Parameter | Description |
|---|---|
| a | Vector to project. |
| ontoB | Non-zero vector to project onto. |
float3 Vector projection of a onto b.
Compute vector projection of a onto b.
Some finite vectors a and b could generate a non-finite result. This is most likely when a's components are very large (close to Single.MaxValue) or when b's components are very small (close to FLT_MIN_NORMAL). In these cases, you can call math.projectsafe which will use a given default value if the result is not finite.
| Parameter | Description |
|---|---|
| a | Vector to project. |
| ontoB | Non-zero vector to project onto. |
float4 Vector projection of a onto b.
Compute vector projection of a onto b.
Some finite vectors a and b could generate a non-finite result. This is most likely when a's components are very large (close to Single.MaxValue) or when b's components are very small (close to FLT_MIN_NORMAL). In these cases, you can call math.projectsafe which will use a given default value if the result is not finite.
| Parameter | Description |
|---|---|
| a | Vector to project. |
| ontoB | Non-zero vector to project onto. |
double2 Vector projection of a onto b.
Compute vector projection of a onto b.
Some finite vectors a and b could generate a non-finite result. This is most likely when a's components are very large (close to Double.MaxValue) or when b's components are very small (close to DBL_MIN_NORMAL). In these cases, you can call math.projectsafe which will use a given default value if the result is not finite.
| Parameter | Description |
|---|---|
| a | Vector to project. |
| ontoB | Non-zero vector to project onto. |
double3 Vector projection of a onto b.
Compute vector projection of a onto b.
Some finite vectors a and b could generate a non-finite result. This is most likely when a's components are very large (close to Double.MaxValue) or when b's components are very small (close to DBL_MIN_NORMAL). In these cases, you can call math.projectsafe which will use a given default value if the result is not finite.
| Parameter | Description |
|---|---|
| a | Vector to project. |
| ontoB | Non-zero vector to project onto. |
double4 Vector projection of a onto b.
Compute vector projection of a onto b.
Some finite vectors a and b could generate a non-finite result. This is most likely when a's components are very large (close to Double.MaxValue) or when b's components are very small (close to DBL_MIN_NORMAL). In these cases, you can call math.projectsafe which will use a given default value if the result is not finite.