shz_vec3_orthonormalize
SHZ_INLINE void shz_vec3_orthonormalize(shz_vec3_t in1, shz_vec3_t in2, shz_vec3_t* out1, shz_vec3_t* out2) SHZ_NOEXCEPT;Returns 2 3D vectors which are normalized and orthogonal to the two input vectors.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
in1 | shz_vec3_t | |
in2 | shz_vec3_t | |
out1 | shz_vec3_t * | |
out2 | shz_vec3_t * |
Returns
Section titled “Returns”Nothing (void).
Availability
Section titled “Availability”- C++ equivalent:
shz::vec3::orthonormalize - Type-generic form: none
- Back-ends: SH4: shared C implementation · SW: portable C · SPU: shared C implementation
- Defined in:
sh4zam/shz_vector.h:608 - Module: Vector, section "Miscellaneous"