Source Academy Modules
    Preparing search index...

    Variable make_3D_pointConst

    make_3D_point: (x: number, y: number, z: number) => Point = CurveFunctions.make_3D_point

    Makes a 3D Point with given x, y and z coordinates.

    Type Declaration

      • (x: number, y: number, z: number): Point
      • Parameters

        • x: number

          x-coordinate of new point

        • y: number

          y-coordinate of new point

        • z: number

          z-coordinate of new point

        Returns Point

        with x, y and z as coordinates

    const point = make_3D_point(0.5, 0.5, 0.5);