Salta ai contenuti
Seleziona lingua:Italiano
Questa pagina è disponibile solo in inglese.

MCL 1.3.5

fun fromAxisAngle(axis: Vec3d, angleRad: Double): Quatd

Creates a quaternion from an axis-angle representation.

The axis is normalized internally.

Return

A quaternion representing the rotation.

Parameters

axis

Rotation axis (does not need to be normalized).

angleRad

Rotation angle in radians.