xcal
基于 C++23 的现代图形渲染引擎
|
Header file for quaternion class template and related utilities 更多...
类 | |
class | xcmath::quaternion< _Tp > |
Quaternion class template 更多... | |
命名空间 | |
namespace | xcmath |
Compiler-specific type information handling for MSVC | |
宏定义 | |
#define | XCMATH_QUATERNION_HPP |
函数 | |
template<class _Tp , class _ItemType > requires (!std::is_same_v<_Tp, quaternion<_ItemType>>) | |
auto | xcmath::operator+ (const _Tp &other, const quaternion< _ItemType > &v) |
Quaternion addition operator with scalar on the left | |
template<class _Tp , class _ItemType > requires (!std::is_same_v<_Tp, quaternion<_ItemType>>) | |
auto | xcmath::operator- (const _Tp &other, const quaternion< _ItemType > &v) |
Quaternion subtraction operator with scalar on the left | |
constexpr quaternion< int > | xcmath::operator""_qi (unsigned long long i) |
constexpr quaternion< int > | xcmath::operator""_qj (unsigned long long j) |
constexpr quaternion< int > | xcmath::operator""_qk (unsigned long long k) |
constexpr quaternion< float > | xcmath::operator""_qi (long double i) |
constexpr quaternion< float > | xcmath::operator""_qj (long double j) |
constexpr quaternion< float > | xcmath::operator""_qk (long double k) |
Header file for quaternion class template and related utilities
在文件 quaternion.hpp 中定义.
#define XCMATH_QUATERNION_HPP |
在文件 quaternion.hpp 第 10 行定义.