mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-10-08 07:11:16 +00:00
Add glm 0.9.2
This commit is contained in:
parent
21545e1a24
commit
c4b531ed5e
218 changed files with 46187 additions and 0 deletions
46
ExternalLibs/glm/gtx/mixed_product.hpp
Normal file
46
ExternalLibs/glm/gtx/mixed_product.hpp
Normal file
|
@ -0,0 +1,46 @@
|
|||
///////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// OpenGL Mathematics Copyright (c) 2005 - 2011 G-Truc Creation (www.g-truc.net)
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Created : 2007-04-03
|
||||
// Updated : 2008-09-17
|
||||
// Licence : This source is under MIT License
|
||||
// File : glm/gtx/mixed_product.hpp
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Dependency:
|
||||
// - GLM core
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef glm_gtx_mixed_product
|
||||
#define glm_gtx_mixed_product
|
||||
|
||||
// Dependency:
|
||||
#include "../glm.hpp"
|
||||
|
||||
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
|
||||
# pragma message("GLM: GLM_GTX_mixed_product extension included")
|
||||
#endif
|
||||
|
||||
namespace glm{
|
||||
namespace gtx{
|
||||
namespace mixed_product ///< GLM_GTX_mixed_product extension: Mixed product of 3 vectors.
|
||||
{
|
||||
/// \addtogroup gtx_mixed_product
|
||||
/// @{
|
||||
|
||||
//! \brief Mixed product of 3 vectors (from GLM_GTX_mixed_product extension)
|
||||
template <typename valType>
|
||||
valType mixedProduct(
|
||||
detail::tvec3<valType> const & v1,
|
||||
detail::tvec3<valType> const & v2,
|
||||
detail::tvec3<valType> const & v3);
|
||||
|
||||
/// @}
|
||||
}// namespace mixed_product
|
||||
}// namespace gtx
|
||||
}// namespace glm
|
||||
|
||||
#include "mixed_product.inl"
|
||||
|
||||
namespace glm{using namespace gtx::mixed_product;}
|
||||
|
||||
#endif//glm_gtx_mixed_product
|
Loading…
Add table
Add a link
Reference in a new issue