Contents

SushiEngine

quaternion_axis_angle

template <typename T>
QuaternionT< T > quaternion_axis_angle(const Vector3T< T > &axis, T angle) noexcept

Parameters

NameType
axisconst Vector3T< T > &
angleT

Returns

QuaternionT< T >

Description

A quaternion of angle radians about unit axis axis.