Quaternion Exponential Extension (ext/quaternion_exponential.hpp)

glChAoS.P · src/src/libs/glm/ext/quaternion_exponential.hpp · cpp · BSD-2-Clause
ai, dev-tools, ui, lang:cpp, tag:math, tag:quaternion

Provides exponential mathematical functions for quaternion types in 3D graphics. Use this when performing complex rotations or transformations in GLM-based applications.

// Source: https://github.com/BrutPitt/glChAoS.P | License: BSD-2-Clause
// Provided via justclaw.it.com; keep this notice with the code.
/// @ref ext_quaternion_exponential
/// @file glm/ext/quaternion_exponential.hpp
///
/// @defgroup ext_quaternion_exponential GLM_EXT_quaternion_exponential
/// @ingroup ext
///
/// Provides exponential functions for quaternion types
///
/// Include <glm/ext/quaternion_exponential.hpp> to use the features of this extension.
///
/// @see core_exponential
/// @see ext_quaternion_float
/// @see ext_quaternion_double

#pragma once

// Dependency:
#include "../common.hpp"
#include "../trigonometric.hpp"
#include "../geometric.hpp"
#include "../ext/scalar_constants.hpp"

#if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
#	pragma message("GLM: GLM_EX

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key