comp.z

Syntax

f = comp.z(v)
comp.z(v) = f

Get/set the \(z\) vector component. This is available for 3D vectors only.

Returns:f - vector value
Accepts:f - vector value
Arguments:v - vector pointer