master
ブランチ master
ShaderPlayground / deps / glm / glm / gtx / mixed_product.hpp
1 KB、41行 生 Blame 履歴
1/// @ref gtx_mixed_product
2/// @file glm/gtx/mixed_product.hpp
3///
4/// @see core (dependence)
5///
6/// @defgroup gtx_mixed_product GLM_GTX_mixed_producte
7/// @ingroup gtx
8///
9/// Include <glm/gtx/mixed_product.hpp> to use the features of this extension.
10///
11/// Mixed product of 3 vectors.
12
13#pragma once
14
15// Dependency:
16#include "../glm.hpp"
17
18#ifndef GLM_ENABLE_EXPERIMENTAL
19# error "GLM: GLM_GTX_mixed_product is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
20#endif
21
22#if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
23# pragma message("GLM: GLM_GTX_mixed_product extension included")
24#endif
25
26namespace glm
27{
28 /// @addtogroup gtx_mixed_product
29 /// @{
30
31 /// @brief Mixed product of 3 vectors (from GLM_GTX_mixed_product extension)
32 template<typename T, qualifier Q>
33 GLM_FUNC_DECL T mixedProduct(
34 vec<3, T, Q> const& v1,
35 vec<3, T, Q> const& v2,
36 vec<3, T, Q> const& v3);
37
38 /// @}
39}// namespace glm
40
41#include "mixed_product.inl"