shz_vec3_move
SHZ_INLINE shz_vec3_t shz_vec3_move(shz_vec3_t vec, shz_vec3_t target, float max_distance) SHZ_NOEXCEPT;Returns the given 3D vector, translated towards the target by the given max_distance.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
vec | shz_vec3_t | |
target | shz_vec3_t | |
max_distance | float |
Returns
Section titled “Returns”shz_vec3_t
Availability
Section titled “Availability”- C++ equivalent:
shz::vec3::move - Type-generic form:
shz_vec_move() - Back-ends: SH4: shared C implementation · SW: portable C · SPU: shared C implementation
- Defined in:
sh4zam/shz_vector.h:514 - Module: Vector, section "Binary Operations"