Declaration
func AxisAngleToQuaternion(axis Vector3, angle float) Quaternion
go
Parameters
Input
| Name | Type | Description |
|---|---|---|
| Axis | Vector3 | Rotation axis |
| Angle | Float | Angle of rotation clockwise around the axis of rotation |
Return
| Type | Description |
|---|---|
| Quaternion | The returned quaternion |