• Retrieves the z-coordinate of a given Point.

    Parameters

    • pt: Point

    Returns number

    z-coordinate of the Point

    Example

    const point = make_color_point(1, 2, 3, 50, 100, 150);
    z_of(point); // Returns 3