MCPcopy Create free account
hub / github.com/RobLoach/raylib-cpp / Quaternion FromAxisAngle

Function Quaternion FromAxisAngle

include/Quaternion.hpp:241–243  ·  view source on GitHub ↗

* Get rotation quaternion for an angle and axis * NOTE: Angle must be provided in radians */

Source from the content-addressed store, hash-verified

239 * NOTE: Angle must be provided in radians
240 */
241 static RLCPP_NODISCARD Quaternion FromAxisAngle(const ::Vector3& axis, const float angle) {
242 return ::QuaternionFromAxisAngle(axis, angle);
243 }
244
245 /**
246 * Get the rotation angle and axis for this quaternion

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected