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

Function Quaternion FromMatrix

include/Quaternion.hpp:226–228  ·  view source on GitHub ↗

* Get a quaternion for a given rotation matrix */

Source from the content-addressed store, hash-verified

224 * Get a quaternion for a given rotation matrix
225 */
226 static RLCPP_NODISCARD Quaternion FromMatrix(const ::Matrix& mat) {
227 return ::QuaternionFromMatrix(mat);
228 }
229
230 /**
231 * Get a matrix for this quaternion

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected