Source Academy Modules
    Preparing search index...

    Variable z_ofConst

    z_of: (pt: Point) => number = CurveFunctions.z_of

    Retrieves the z-coordinate of a given Point.

    Type Declaration

      • (pt: Point): number
      • Parameters

        • pt: Point

          given point

        Returns number

        z-coordinate of the Point

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