Vertex Viewer SDK
    Preparing search index...

    Function makeRotationAxis

    • Creates a rotation matrix that is rotated around a given axis by the given angle.

      Parameters

      • axis: Vector3.Vector3

        The axis of rotation.

      • radians: number

        The angle of rotation.

      Returns Matrix4.Matrix4

      A rotation matrix.