2011-06-07 15:37:57 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////////////
|
|
|
|
/// OpenGL Mathematics (glm.g-truc.net)
|
|
|
|
///
|
2014-01-04 21:32:28 +00:00
|
|
|
/// Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net)
|
2011-06-07 15:37:57 +00:00
|
|
|
/// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
|
|
/// of this software and associated documentation files (the "Software"), to deal
|
|
|
|
/// in the Software without restriction, including without limitation the rights
|
|
|
|
/// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
|
|
/// copies of the Software, and to permit persons to whom the Software is
|
|
|
|
/// furnished to do so, subject to the following conditions:
|
|
|
|
///
|
|
|
|
/// The above copyright notice and this permission notice shall be included in
|
|
|
|
/// all copies or substantial portions of the Software.
|
|
|
|
///
|
|
|
|
/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
/// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
/// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
|
/// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
|
/// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
|
/// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
|
|
/// THE SOFTWARE.
|
|
|
|
///
|
|
|
|
/// @file glm/glm.hpp
|
|
|
|
/// @date 2009-05-01 / 2011-05-16
|
|
|
|
/// @author Christophe Riccio
|
|
|
|
///
|
|
|
|
/// @ref core (Dependence)
|
|
|
|
///
|
|
|
|
/// @defgroup gtc GTC Extensions (Stable)
|
2011-06-07 23:58:37 +00:00
|
|
|
///
|
2011-06-07 15:37:57 +00:00
|
|
|
/// @brief Functions and types that the GLSL specification doesn't define, but useful to have for a C++ program.
|
|
|
|
///
|
|
|
|
/// GTC extensions aim to be stable.
|
|
|
|
///
|
|
|
|
/// Even if it's highly unrecommended, it's possible to include all the extensions at once by
|
|
|
|
/// including <glm/ext.hpp>. Otherwise, each extension needs to be included a specific file.
|
2011-06-07 23:58:37 +00:00
|
|
|
///
|
|
|
|
/// @defgroup gtx GTX Extensions (Experimental)
|
|
|
|
///
|
|
|
|
/// @brief Functions and types that the GLSL specification doesn't define, but
|
|
|
|
/// useful to have for a C++ program.
|
|
|
|
///
|
|
|
|
/// Experimental extensions are useful functions and types, but the development of
|
|
|
|
/// their API and functionality is not necessarily stable. They can change
|
|
|
|
/// substantially between versions. Backwards compatibility is not much of an issue
|
|
|
|
/// for them.
|
|
|
|
///
|
|
|
|
/// Even if it's highly unrecommended, it's possible to include all the extensions
|
|
|
|
/// at once by including <glm/ext.hpp>. Otherwise, each extension needs to be
|
|
|
|
/// included a specific file.
|
|
|
|
///
|
|
|
|
/// @defgroup virtrev VIRTREV Extensions
|
|
|
|
///
|
|
|
|
/// @brief Extensions develop and maintain by Mathieu [matrem] Roumillac
|
|
|
|
/// (http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showprofile&User=22660).
|
2011-06-07 15:37:57 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////////////
|
2010-04-29 10:54:07 +00:00
|
|
|
|
2014-07-13 23:48:27 +00:00
|
|
|
#pragma once
|
2010-04-29 10:54:07 +00:00
|
|
|
|
2011-01-19 15:44:05 +00:00
|
|
|
#if(defined(GLM_MESSAGES) && !defined(GLM_MESSAGE_EXT_INCLUDED_DISPLAYED))
|
|
|
|
# define GLM_MESSAGE_EXT_INCLUDED_DISPLAYED
|
|
|
|
# pragma message("GLM: All extensions included (not recommanded)")
|
2011-01-19 16:41:58 +00:00
|
|
|
#endif//GLM_MESSAGES
|
2011-01-19 15:44:05 +00:00
|
|
|
|
2012-04-07 01:30:26 +00:00
|
|
|
#include "./gtc/constants.hpp"
|
|
|
|
#include "./gtc/epsilon.hpp"
|
2010-04-30 10:11:09 +00:00
|
|
|
#include "./gtc/matrix_access.hpp"
|
2011-01-20 12:16:28 +00:00
|
|
|
#include "./gtc/matrix_integer.hpp"
|
2010-12-13 12:19:51 +00:00
|
|
|
#include "./gtc/matrix_inverse.hpp"
|
2010-04-30 10:11:09 +00:00
|
|
|
#include "./gtc/matrix_transform.hpp"
|
2012-04-07 01:30:26 +00:00
|
|
|
#include "./gtc/noise.hpp"
|
2013-12-25 22:32:35 +00:00
|
|
|
#include "./gtc/packing.hpp"
|
2010-04-30 10:11:09 +00:00
|
|
|
#include "./gtc/quaternion.hpp"
|
2012-04-07 01:30:26 +00:00
|
|
|
#include "./gtc/random.hpp"
|
|
|
|
#include "./gtc/reciprocal.hpp"
|
2010-04-30 10:11:09 +00:00
|
|
|
#include "./gtc/type_precision.hpp"
|
|
|
|
#include "./gtc/type_ptr.hpp"
|
2012-04-07 01:30:26 +00:00
|
|
|
#include "./gtc/ulp.hpp"
|
2010-04-29 10:54:07 +00:00
|
|
|
|
2010-04-29 10:56:52 +00:00
|
|
|
#include "./gtx/associated_min_max.hpp"
|
|
|
|
#include "./gtx/bit.hpp"
|
|
|
|
#include "./gtx/closest_point.hpp"
|
|
|
|
#include "./gtx/color_space.hpp"
|
|
|
|
#include "./gtx/color_space_YCoCg.hpp"
|
|
|
|
#include "./gtx/compatibility.hpp"
|
|
|
|
#include "./gtx/component_wise.hpp"
|
2013-02-22 05:29:27 +00:00
|
|
|
#include "./gtx/dual_quaternion.hpp"
|
2010-04-29 10:56:52 +00:00
|
|
|
#include "./gtx/euler_angles.hpp"
|
|
|
|
#include "./gtx/extend.hpp"
|
|
|
|
#include "./gtx/extented_min_max.hpp"
|
|
|
|
#include "./gtx/fast_exponential.hpp"
|
|
|
|
#include "./gtx/fast_square_root.hpp"
|
|
|
|
#include "./gtx/fast_trigonometry.hpp"
|
|
|
|
#include "./gtx/gradient_paint.hpp"
|
|
|
|
#include "./gtx/handed_coordinate_space.hpp"
|
|
|
|
#include "./gtx/inertia.hpp"
|
|
|
|
#include "./gtx/integer.hpp"
|
|
|
|
#include "./gtx/intersect.hpp"
|
|
|
|
#include "./gtx/log_base.hpp"
|
|
|
|
#include "./gtx/matrix_cross_product.hpp"
|
2011-05-06 12:24:05 +00:00
|
|
|
#include "./gtx/matrix_interpolation.hpp"
|
2010-04-29 10:56:52 +00:00
|
|
|
#include "./gtx/matrix_major_storage.hpp"
|
2010-04-30 08:59:43 +00:00
|
|
|
#include "./gtx/matrix_operation.hpp"
|
2010-04-29 10:56:52 +00:00
|
|
|
#include "./gtx/matrix_query.hpp"
|
|
|
|
#include "./gtx/mixed_product.hpp"
|
2011-01-19 16:02:13 +00:00
|
|
|
#include "./gtx/multiple.hpp"
|
2010-04-29 10:56:52 +00:00
|
|
|
#include "./gtx/norm.hpp"
|
|
|
|
#include "./gtx/normal.hpp"
|
|
|
|
#include "./gtx/normalize_dot.hpp"
|
|
|
|
#include "./gtx/number_precision.hpp"
|
|
|
|
#include "./gtx/optimum_pow.hpp"
|
|
|
|
#include "./gtx/orthonormalize.hpp"
|
|
|
|
#include "./gtx/perpendicular.hpp"
|
|
|
|
#include "./gtx/polar_coordinates.hpp"
|
|
|
|
#include "./gtx/projection.hpp"
|
|
|
|
#include "./gtx/quaternion.hpp"
|
|
|
|
#include "./gtx/raw_data.hpp"
|
|
|
|
#include "./gtx/rotate_vector.hpp"
|
|
|
|
#include "./gtx/spline.hpp"
|
|
|
|
#include "./gtx/std_based_type.hpp"
|
2014-10-05 11:26:02 +00:00
|
|
|
#if !(GLM_COMPILER & GLM_COMPILER_CUDA)
|
2014-03-16 01:39:36 +00:00
|
|
|
# include "./gtx/string_cast.hpp"
|
|
|
|
#endif
|
2010-04-29 10:56:52 +00:00
|
|
|
#include "./gtx/transform.hpp"
|
|
|
|
#include "./gtx/transform2.hpp"
|
|
|
|
#include "./gtx/vec1.hpp"
|
|
|
|
#include "./gtx/vector_angle.hpp"
|
|
|
|
#include "./gtx/vector_query.hpp"
|
2011-01-19 16:02:13 +00:00
|
|
|
#include "./gtx/wrap.hpp"
|
2010-04-29 10:54:07 +00:00
|
|
|
|
2014-10-05 12:42:17 +00:00
|
|
|
#if GLM_LANG & GLM_LANG_CXX0X_FLAG
|
|
|
|
# include "./gtx/scalar_multiplication.hpp"
|
|
|
|
# include "./gtx/range.hpp"
|
|
|
|
#endif
|
|
|
|
|
2014-10-05 11:26:02 +00:00
|
|
|
#if GLM_ARCH & GLM_ARCH_SSE2
|
2011-01-31 18:39:28 +00:00
|
|
|
# include "./gtx/simd_vec4.hpp"
|
|
|
|
# include "./gtx/simd_mat4.hpp"
|
|
|
|
#endif
|