shz_vec3_cross
SHZ_INLINE shz_vec3_t shz_vec3_cross(shz_vec3_t vec1, shz_vec3_t vec2) SHZ_NOEXCEPT;Returns the vector produced by taking the cross-product of the two given 3D vectors.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
vec1 | shz_vec3_t | |
vec2 | shz_vec3_t |
Returns
Section titled “Returns”shz_vec3_t
Availability
Section titled “Availability”- C++ equivalent:
shz::vec3::cross - Type-generic form:
shz_vec_cross() - Back-ends: SH4: shared C implementation · SW: portable C · SPU: shared C implementation
- Defined in:
sh4zam/shz_vector.h:556 - Module: Vector, section "Binary Operations"