Skip to content

shz_vec4_move

Markdown
SHZ_INLINE shz_vec4_t shz_vec4_move(shz_vec4_t vec, shz_vec4_t target, float max_distance) SHZ_NOEXCEPT;

Returns the given 4D vector, translated towards the target by the given max_distance.

NameTypeDescription
vecshz_vec4_t
targetshz_vec4_t
max_distancefloat

shz_vec4_t