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

Function Quaternion FromVector3ToVector3

include/Quaternion.hpp:219–221  ·  view source on GitHub ↗

* Calculate quaternion based on the rotation from one vector to another */

Source from the content-addressed store, hash-verified

217 * Calculate quaternion based on the rotation from one vector to another
218 */
219 static RLCPP_NODISCARD Quaternion FromVector3ToVector3(const ::Vector3& from, const ::Vector3& to) {
220 return ::QuaternionFromVector3ToVector3(from, to);
221 }
222
223 /**
224 * Get a quaternion for a given rotation matrix

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected