Source Academy Modules
    Preparing search index...

    Variable rotate_around_originConst

    rotate_around_origin: (a: number) => CurveTransformer = CurveFunctions.rotate_around_origin

    This function an angle a in radians as parameter and returns a Curve transformation: a function that takes a Curve as argument and returns a new Curve, which is the original Curve rotated extrinsically with Euler angle a about the z axis.

    Type Declaration

      • (a: number): CurveTransformer
      • Parameters

        • a: number

          given angle

        Returns CurveTransformer

        function that takes a Curve and returns a Curve