xcal
基于 C++23 的现代图形渲染引擎
载入中...
搜索中...
未找到
| 命名空间 | 宏定义 | 类型定义 | 函数 | 变量
declaration.hpp 文件参考

Declaration of vector, matrix, quaternion, and complex classes 更多...

#include <cstddef>
#include <type_traits>
declaration.hpp 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

struct  xcmath::Slice< _idx >
 Compile-time index sequence for vector slicing operations 更多...
 

命名空间

namespace  xcmath
 Compiler-specific type information handling for MSVC
 

宏定义

#define XCMATH_DECLARATION_HPP
 

类型定义

template<typename T >
using xcmath::vec2 = vec< T, 2 >
 Alias for vec<T, 2>
 
template<typename T >
using xcmath::vec3 = vec< T, 3 >
 Alias for vec<T, 3>
 
template<typename T >
using xcmath::vec4 = vec< T, 4 >
 Alias for vec<T, 4>
 
template<size_t _len>
using xcmath::vecf = vec< float, _len >
 Alias for vec<float, _len>
 
template<size_t _len>
using xcmath::vecd = vec< double, _len >
 Alias for vec<double, _len>
 
template<size_t _len>
using xcmath::veci = vec< int, _len >
 Alias for vec<int, _len>
 
template<size_t _len>
using xcmath::vecui = vec< unsigned int, _len >
 Alias for vec<unsigned int, _len>
 
template<size_t _len>
using xcmath::vecl = vec< long, _len >
 Alias for vec<long, _len>
 
template<size_t _len>
using xcmath::vecul = vec< unsigned long, _len >
 Alias for vec<unsigned long, _len>
 
template<size_t _len>
using xcmath::vecll = vec< long long, _len >
 Alias for vec<long long, _len>
 
template<size_t _len>
using xcmath::vecull = vec< unsigned long long, _len >
 Alias for vec<unsigned long long, _len>
 
template<size_t _len>
using xcmath::vecb = vec< bool, _len >
 Alias for vec<bool, _len>
 
using xcmath::vec2f = vec2< float >
 
using xcmath::vec3f = vec3< float >
 
using xcmath::vec4f = vec4< float >
 
using xcmath::vec2d = vec2< double >
 
using xcmath::vec3d = vec3< double >
 
using xcmath::vec4d = vec4< double >
 
using xcmath::vec2i = vec2< int >
 
using xcmath::vec3i = vec3< int >
 
using xcmath::vec4i = vec4< int >
 
using xcmath::vec2ui = vec2< unsigned int >
 
using xcmath::vec3ui = vec3< unsigned int >
 
using xcmath::vec4ui = vec4< unsigned int >
 
using xcmath::vec2l = vec2< long >
 
using xcmath::vec3l = vec3< long >
 
using xcmath::vec4l = vec4< long >
 
using xcmath::vec2ul = vec2< unsigned long >
 
using xcmath::vec3ul = vec3< unsigned long >
 
using xcmath::vec4ul = vec4< unsigned long >
 
using xcmath::vec2ll = vec2< long long >
 
using xcmath::vec3ll = vec3< long long >
 
using xcmath::vec4ll = vec4< long long >
 
using xcmath::vec2ull = vec2< unsigned long long >
 
using xcmath::vec3ull = vec3< unsigned long long >
 
using xcmath::vec4ull = vec4< unsigned long long >
 
using xcmath::vec2b = vec2< bool >
 
using xcmath::vec3b = vec3< bool >
 
using xcmath::vec4b = vec4< bool >
 
template<class _Tp >
using xcmath::mat1x2 = mat< _Tp, 1, 2 >
 Alias for mat<_Tp, 1, 2>
 
template<class _Tp >
using xcmath::mat1x3 = mat< _Tp, 1, 3 >
 Alias for mat<_Tp, 1, 3>
 
template<class _Tp >
using xcmath::mat1x4 = mat< _Tp, 1, 4 >
 Alias for mat<_Tp, 1, 4>
 
template<class _Tp >
using xcmath::mat2x1 = mat< _Tp, 2, 1 >
 Alias for mat<_Tp, 2, 1>
 
template<class _Tp >
using xcmath::mat2x2 = mat< _Tp, 2, 2 >
 Alias for mat<_Tp, 2, 2>
 
template<class _Tp >
using xcmath::mat2x3 = mat< _Tp, 2, 3 >
 Alias for mat<_Tp, 2, 3>
 
template<class _Tp >
using xcmath::mat2x4 = mat< _Tp, 2, 4 >
 Alias for mat<_Tp, 2, 4>
 
template<class _Tp >
using xcmath::mat3x1 = mat< _Tp, 3, 1 >
 Alias for mat<_Tp, 3, 1>
 
template<class _Tp >
using xcmath::mat3x2 = mat< _Tp, 3, 2 >
 Alias for mat<_Tp, 3, 2>
 
template<class _Tp >
using xcmath::mat3x3 = mat< _Tp, 3, 3 >
 Alias for mat<_Tp, 3, 3>
 
template<class _Tp >
using xcmath::mat3x4 = mat< _Tp, 3, 4 >
 Alias for mat<_Tp, 3, 4>
 
template<class _Tp >
using xcmath::mat4x1 = mat< _Tp, 4, 1 >
 Alias for mat<_Tp, 4, 1>
 
template<class _Tp >
using xcmath::mat4x2 = mat< _Tp, 4, 2 >
 Alias for mat<_Tp, 4, 2>
 
template<class _Tp >
using xcmath::mat4x3 = mat< _Tp, 4, 3 >
 Alias for mat<_Tp, 4, 3>
 
template<class _Tp >
using xcmath::mat4x4 = mat< _Tp, 4, 4 >
 Alias for mat<_Tp, 4, 4>
 
template<class _Tp >
using xcmath::mat3 = mat3x3< _Tp >
 Alias for mat3x3<_Tp>
 
template<class _Tp >
using xcmath::mat4 = mat4x4< _Tp >
 Alias for mat4x4<_Tp>
 
using xcmath::mat1x2f = mat1x2< float >
 
using xcmath::mat1x3f = mat1x3< float >
 
using xcmath::mat1x4f = mat1x4< float >
 
using xcmath::mat2x1f = mat2x1< float >
 
using xcmath::mat2x2f = mat2x2< float >
 
using xcmath::mat2x3f = mat2x3< float >
 
using xcmath::mat2x4f = mat2x4< float >
 
using xcmath::mat3x1f = mat3x1< float >
 
using xcmath::mat3x2f = mat3x2< float >
 
using xcmath::mat3x3f = mat3x3< float >
 
using xcmath::mat3x4f = mat3x4< float >
 
using xcmath::mat4x1f = mat4x1< float >
 
using xcmath::mat4x2f = mat4x2< float >
 
using xcmath::mat4x3f = mat4x3< float >
 
using xcmath::mat4x4f = mat4x4< float >
 
using xcmath::mat1x2d = mat1x2< double >
 
using xcmath::mat1x3d = mat1x3< double >
 
using xcmath::mat1x4d = mat1x4< double >
 
using xcmath::mat2x1d = mat2x1< double >
 
using xcmath::mat2x2d = mat2x2< double >
 
using xcmath::mat2x3d = mat2x3< double >
 
using xcmath::mat2x4d = mat2x4< double >
 
using xcmath::mat3x1d = mat3x1< double >
 
using xcmath::mat3x2d = mat3x2< double >
 
using xcmath::mat3x3d = mat3x3< double >
 
using xcmath::mat3x4d = mat3x4< double >
 
using xcmath::mat4x1d = mat4x1< double >
 
using xcmath::mat4x2d = mat4x2< double >
 
using xcmath::mat4x3d = mat4x3< double >
 
using xcmath::mat4x4d = mat4x4< double >
 
using xcmath::mat1x2i = mat1x2< int >
 
using xcmath::mat1x3i = mat1x3< int >
 
using xcmath::mat1x4i = mat1x4< int >
 
using xcmath::mat2x1i = mat2x1< int >
 
using xcmath::mat2x2i = mat2x2< int >
 
using xcmath::mat2x3i = mat2x3< int >
 
using xcmath::mat2x4i = mat2x4< int >
 
using xcmath::mat3x1i = mat3x1< int >
 
using xcmath::mat3x2i = mat3x2< int >
 
using xcmath::mat3x3i = mat3x3< int >
 
using xcmath::mat3x4i = mat3x4< int >
 
using xcmath::mat4x1i = mat4x1< int >
 
using xcmath::mat4x2i = mat4x2< int >
 
using xcmath::mat4x3i = mat4x3< int >
 
using xcmath::mat4x4i = mat4x4< int >
 
using xcmath::mat1x2l = mat1x2< long >
 
using xcmath::mat1x3l = mat1x3< long >
 
using xcmath::mat1x4l = mat1x4< long >
 
using xcmath::mat2x1l = mat2x1< long >
 
using xcmath::mat2x2l = mat2x2< long >
 
using xcmath::mat2x3l = mat2x3< long >
 
using xcmath::mat2x4l = mat2x4< long >
 
using xcmath::mat3x1l = mat3x1< long >
 
using xcmath::mat3x2l = mat3x2< long >
 
using xcmath::mat3x3l = mat3x3< long >
 
using xcmath::mat3x4l = mat3x4< long >
 
using xcmath::mat4x1l = mat4x1< long >
 
using xcmath::mat4x2l = mat4x2< long >
 
using xcmath::mat4x3l = mat4x3< long >
 
using xcmath::mat4x4l = mat4x4< long >
 
using xcmath::mat1x2ul = mat1x2< unsigned long >
 
using xcmath::mat1x3ul = mat1x3< unsigned long >
 
using xcmath::mat1x4ul = mat1x4< unsigned long >
 
using xcmath::mat2x1ul = mat2x1< unsigned long >
 
using xcmath::mat2x2ul = mat2x2< unsigned long >
 
using xcmath::mat2x3ul = mat2x3< unsigned long >
 
using xcmath::mat2x4ul = mat2x4< unsigned long >
 
using xcmath::mat3x1ul = mat3x1< unsigned long >
 
using xcmath::mat3x2ul = mat3x2< unsigned long >
 
using xcmath::mat3x3ul = mat3x3< unsigned long >
 
using xcmath::mat3x4ul = mat3x4< unsigned long >
 
using xcmath::mat4x1ul = mat4x1< unsigned long >
 
using xcmath::mat4x2ul = mat4x2< unsigned long >
 
using xcmath::mat4x3ul = mat4x3< unsigned long >
 
using xcmath::mat4x4ul = mat4x4< unsigned long >
 
using xcmath::mat1x2b = mat1x2< bool >
 
using xcmath::mat1x3b = mat1x3< bool >
 
using xcmath::mat1x4b = mat1x4< bool >
 
using xcmath::mat2x1b = mat2x1< bool >
 
using xcmath::mat2x2b = mat2x2< bool >
 
using xcmath::mat2x3b = mat2x3< bool >
 
using xcmath::mat2x4b = mat2x4< bool >
 
using xcmath::mat3x1b = mat3x1< bool >
 
using xcmath::mat3x2b = mat3x2< bool >
 
using xcmath::mat3x3b = mat3x3< bool >
 
using xcmath::mat3x4b = mat3x4< bool >
 
using xcmath::mat4x1b = mat4x1< bool >
 
using xcmath::mat4x2b = mat4x2< bool >
 
using xcmath::mat4x3b = mat4x3< bool >
 
using xcmath::mat4x4b = mat4x4< bool >
 
using xcmath::mat2f = mat2x2f
 
using xcmath::mat3f = mat3x3f
 
using xcmath::mat4f = mat4x4f
 
using xcmath::mat2d = mat2x2d
 
using xcmath::mat3d = mat3x3d
 
using xcmath::mat4d = mat4x4d
 
using xcmath::mat2i = mat2x2i
 
using xcmath::mat3i = mat3x3i
 
using xcmath::mat4i = mat4x4i
 
using xcmath::mat2l = mat2x2l
 
using xcmath::mat3l = mat3x3l
 
using xcmath::mat4l = mat4x4l
 
using xcmath::mat2ul = mat2x2ul
 
using xcmath::mat3ul = mat3x3ul
 
using xcmath::mat4ul = mat4x4ul
 
using xcmath::mat2b = mat2x2b
 
using xcmath::mat3b = mat3x3b
 
using xcmath::mat4b = mat4x4b
 

函数

template<class _Tp1 , class... _Tp>
 xcmath::vec (const _Tp1 &, const _Tp...) -> vec< _Tp1, sizeof...(_Tp)+1 >
 Deduction guide for vec class template
 

变量

template<size_t _From, size_t _To, size_t _Step = 1>
constexpr auto xcmath::slice_from_to
 
template<size_t _Start, size_t _Len, size_t _Step = 1>
constexpr auto xcmath::slice_start_len
 
template<size_t _Len, size_t _Step = 1>
constexpr auto xcmath::slice_to = slice_from_to<0, (_Step * _Len) - 1, _Step>
 
template<size_t _End, size_t _Len, size_t _Step = 1>
constexpr auto xcmath::slice_from_end
 
constexpr long double xcmath::PI
 Pi constant
 

详细描述

Declaration of vector, matrix, quaternion, and complex classes

作者
XCDH
版本
1.0
日期
2023-10-05

在文件 declaration.hpp 中定义.

宏定义说明

◆ XCMATH_DECLARATION_HPP

#define XCMATH_DECLARATION_HPP

在文件 declaration.hpp10 行定义.