Added extension include messages

This commit is contained in:
Christophe Riccio 2011-01-19 17:10:55 +00:00
parent 2aba768990
commit da085b4287
68 changed files with 246 additions and 96 deletions

View File

@ -30,7 +30,6 @@
#include "./gtx/color_cast.hpp"
#include "./gtx/color_space.hpp"
#include "./gtx/color_space_YCoCg.hpp"
#include "./gtx/comparison.hpp"
#include "./gtx/compatibility.hpp"
#include "./gtx/component_wise.hpp"
#include "./gtx/epsilon.hpp"

View File

@ -13,7 +13,7 @@
// Dependency:
#include "../glm.hpp"
#if(!defined(glm_ext))
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTC_half_float extension included")
#endif

View File

@ -16,7 +16,7 @@
// Dependency:
#include "../glm.hpp"
#if(!defined(glm_ext))
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTC_matrix_access extension included")
#endif

View File

@ -16,7 +16,7 @@
// Dependency:
#include "../glm.hpp"
#if(!defined(glm_ext))
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTC_matrix_inverse extension included")
#endif

View File

@ -17,7 +17,7 @@
// Dependency:
#include "../glm.hpp"
#if(!defined(glm_ext))
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTC_matrix_transform extension included")
#endif

View File

@ -22,7 +22,7 @@
#include "../glm.hpp"
#include "../gtc/half_float.hpp"
#if(!defined(glm_ext))
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTC_quaternion extension included")
#endif

View File

@ -17,7 +17,7 @@
#include "../glm.hpp"
#include "../gtc/type_precision.hpp"
#if(!defined(glm_ext))
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTC_swizzle extension included")
#endif

View File

@ -20,7 +20,7 @@
#include "../gtc/half_float.hpp"
#include "../gtc/quaternion.hpp"
#if(!defined(glm_ext))
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTC_type_precision extension included")
#endif

View File

@ -16,7 +16,7 @@
// Dependency:
#include "../glm.hpp"
#if(!defined(glm_ext))
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTC_type_ptr extension included")
#endif

View File

@ -17,6 +17,10 @@
// Dependency:
#include "../glm.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_associated_min_max extension included")
#endif
namespace glm
{
namespace test{

View File

@ -18,6 +18,10 @@
#include "../glm.hpp"
#include "../gtc/half_float.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_bit extension included")
#endif
namespace glm
{
namespace test{

View File

@ -16,6 +16,10 @@
// Dependency:
#include "../glm.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_closest_point extension included")
#endif
namespace glm
{
namespace test{

View File

@ -18,6 +18,10 @@
#include "../glm.hpp"
#include "../gtx/number_precision.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_color_cast extension included")
#endif
namespace glm
{
namespace test{

View File

@ -16,6 +16,10 @@
// Dependency:
#include "../glm.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_color_space extension included")
#endif
namespace glm
{
namespace test{

View File

@ -16,6 +16,10 @@
// Dependency:
#include "../glm.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_color_space_YCoCg extension included")
#endif
namespace glm
{
namespace test{

View File

@ -1,80 +0,0 @@
///////////////////////////////////////////////////////////////////////////////////////////////////
// OpenGL Mathematics Copyright (c) 2005 - 2010 G-Truc Creation (www.g-truc.net)
///////////////////////////////////////////////////////////////////////////////////////////////////
// Created : 2008-06-22
// Updated : 2008-10-27
// Licence : This source is under MIT License
// File : glm/gtx/comparison.hpp
///////////////////////////////////////////////////////////////////////////////////////////////////
// Dependency:
// - GLM core
///////////////////////////////////////////////////////////////////////////////////////////////////
#ifndef glm_gtx_comparison
#define glm_gtx_comparison
// Dependency:
#include "../glm.hpp"
namespace glm
{
namespace test{
void main_gtx_comparison();
}//namespace test
namespace gtx{
//! GLM_GTX_comparison extension: Defined comparison operators for vectors.
namespace comparison
{
/*
//! Define == operator for vectors
//! From GLM_GTX_comparison extension.
template <typename T>
bool operator== (
detail::tvec2<T> const & x,
detail::tvec2<T> const & y);
//! Define == operator for vectors
//! From GLM_GTX_comparison extension.
template <typename T>
bool operator== (
detail::tvec3<T> const & x,
detail::tvec3<T> const & y);
//! Define == operator for vectors
//! From GLM_GTX_comparison extension.
template <typename T>
bool operator== (
detail::tvec4<T> const & x,
detail::tvec4<T> const & y);
//! Define != operator for vectors
//! From GLM_GTX_comparison extension.
template <typename T>
bool operator!= (
detail::tvec2<T> const & x,
detail::tvec2<T> const & y);
//! Define != operator for vectors
//! From GLM_GTX_comparison extension.
template <typename T>
bool operator!= (
detail::tvec3<T> const & x,
detail::tvec3<T> const & y);
//! Define != operator for vectors
//! From GLM_GTX_comparison extension.
template <typename T>
bool operator!= (
detail::tvec4<T> const & x,
detail::tvec4<T> const & y);
*/
}//namespace comparison
}//namespace gtx
}//namespace glm
#include "comparison.inl"
using namespace glm::gtx::comparison;
#endif//glm_gtx_comparison

View File

@ -18,12 +18,15 @@
#include "../glm.hpp"
#include "../gtc/half_float.hpp"
#ifdef GLM_COMPILER_VC
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_compatibility extension included")
#endif
#if(GLM_COMPILER & GLM_COMPILER_VC)
#include <cfloat>
#endif
#ifdef GLM_COMPILER_GCC
#elif(GLM_COMPILER & GLM_COMPILER_GCC)
#include <cmath>
#endif
#endif//GLM_COMPILER
namespace glm
{

View File

@ -16,6 +16,10 @@
// Dependency:
#include "../glm.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_component_wise extension included")
#endif
namespace glm
{
namespace test{

View File

@ -18,6 +18,10 @@
#include "../glm.hpp"
#include "../gtc/half_float.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_epsilon extension included")
#endif
namespace glm
{
namespace test{

View File

@ -22,6 +22,10 @@
#include "../glm.hpp"
#include "../gtc/half_float.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_euler_angles extension included")
#endif
namespace glm
{
namespace gtx{

View File

@ -16,6 +16,10 @@
// Dependency:
#include "../glm.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_extend extension included")
#endif
namespace glm
{
namespace test{

View File

@ -18,6 +18,10 @@
#include "../glm.hpp"
#include "../gtc/half_float.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_extented_min_max extension included")
#endif
namespace glm
{
namespace test{

View File

@ -18,6 +18,10 @@
#include "../glm.hpp"
#include "../gtc/half_float.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_fast_exponential extension included")
#endif
namespace glm
{
namespace test{

View File

@ -20,6 +20,10 @@
// Dependency:
#include "../glm.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_fast_square_root extension included")
#endif
namespace glm
{
namespace test{

View File

@ -16,6 +16,10 @@
// Dependency:
#include "../glm.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_fast_trigonometry extension included")
#endif
namespace glm
{
namespace test{

View File

@ -17,6 +17,10 @@
#include "../glm.hpp"
#include "../gtx/optimum_pow.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_gradient_paint extension included")
#endif
namespace glm
{
namespace test{

View File

@ -4,7 +4,7 @@
// Created : 2005-12-21
// Updated : 2009-02-19
// Licence : This source is under MIT License
// File : glm/gtx/handed_coordinate_space.h
// File : glm/gtx/handed_coordinate_space.hpp
///////////////////////////////////////////////////////////////////////////////////////////////////
// Dependency:
// - GLM core
@ -16,6 +16,10 @@
// Dependency:
#include "../glm.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_handed_coordinate_space extension included")
#endif
namespace glm
{
namespace gtx{

View File

@ -4,7 +4,7 @@
// Created : 2006-04-21
// Updated : 2006-11-13
// Licence : This source is under MIT License
// File : glm/gtx/inertia.h
// File : glm/gtx/inertia.hpp
///////////////////////////////////////////////////////////////////////////////////////////////////
// Dependency:
// - GLM core
@ -16,6 +16,10 @@
// Dependency:
#include "../glm.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_inertia extension included")
#endif
namespace glm
{
namespace gtx{

View File

@ -17,6 +17,10 @@
#include "../glm.hpp"
#include "../gtx/raw_data.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_int_10_10_10_2 extension included")
#endif
namespace glm
{
namespace gtx{

View File

@ -16,6 +16,10 @@
// Dependency:
#include "../glm.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_integer extension included")
#endif
namespace glm
{
namespace gtx{

View File

@ -18,6 +18,10 @@
#include "../glm.hpp"
#include "../gtx/closest_point.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_closest_point extension included")
#endif
namespace glm
{
namespace test{

View File

@ -16,6 +16,10 @@
// Dependency:
#include "../glm.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_log_base extension included")
#endif
namespace glm
{
namespace test{

View File

@ -16,6 +16,10 @@
// Dependency:
#include "../glm.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_matrix_cross_product extension included")
#endif
namespace glm
{
namespace test{

View File

@ -16,6 +16,10 @@
// Dependency:
#include "../glm.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_matrix_major_storage extension included")
#endif
namespace glm
{
namespace gtx{

View File

@ -16,6 +16,10 @@
// Dependency:
#include "../glm.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_matrix_operation extension included")
#endif
namespace glm
{
namespace test{

View File

@ -16,6 +16,10 @@
// Dependency:
#include "../glm.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_matrix_query extension included")
#endif
namespace glm
{
namespace test{

View File

@ -16,6 +16,10 @@
// Dependency:
#include "../glm.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_mixed_product extension included")
#endif
namespace glm
{
namespace test{

View File

@ -16,6 +16,10 @@
// Dependency:
#include "../glm.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_multiple extension included")
#endif
namespace glm
{
namespace test{

View File

@ -21,6 +21,10 @@
#include "../glm.hpp"
#include "../gtx/quaternion.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_norm extension included")
#endif
namespace glm
{
namespace test{

View File

@ -16,6 +16,10 @@
// Dependency:
#include "../glm.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_normal extension included")
#endif
namespace glm
{
namespace test{

View File

@ -18,6 +18,10 @@
#include "../glm.hpp"
#include "../gtx/fast_square_root.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_normalize_dot extension included")
#endif
namespace glm
{
namespace gtx{

View File

@ -19,6 +19,10 @@
#include "../glm.hpp"
#include "../gtc/type_precision.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_number_precision extension included")
#endif
namespace glm{
namespace gtx{
//! GLM_GTX_number_precision extension: Defined size types.

View File

@ -16,6 +16,10 @@
// Dependency:
#include "../glm.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_ocl_type extension included")
#endif
namespace glm{
namespace gtx{
//! GLM_GTX_ocl_type extension: OpenCL types.

View File

@ -4,7 +4,7 @@
// Created : 2005-12-21
// Updated : 2006-11-13
// Licence : This source is under MIT License
// File : glm/gtx/optimum_pow.h
// File : glm/gtx/optimum_pow.hpp
///////////////////////////////////////////////////////////////////////////////////////////////////
// Dependency:
// - GLM core
@ -16,6 +16,10 @@
// Dependency:
#include "../glm.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_optimum_pow extension included")
#endif
namespace glm
{
namespace test{

View File

@ -16,6 +16,10 @@
// Dependency:
#include "../glm.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_orthonormalize extension included")
#endif
namespace glm
{
namespace test{

View File

@ -18,6 +18,10 @@
#include "../glm.hpp"
#include "../gtx/projection.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_perpendicular extension included")
#endif
namespace glm
{
namespace test{

View File

@ -16,6 +16,10 @@
// Dependency:
#include "../glm.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_polar_coordinates extension included")
#endif
namespace glm
{
namespace gtx{

View File

@ -16,6 +16,10 @@
// Dependency:
#include "../glm.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_projection extension included")
#endif
namespace glm
{
namespace test{

View File

@ -21,6 +21,10 @@
#include "../glm.hpp"
#include "../gtc/quaternion.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_quaternion extension included")
#endif
namespace glm
{
namespace gtx{

View File

@ -19,6 +19,10 @@
#include "../glm.hpp"
#include "../gtc/half_float.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_random extension included")
#endif
namespace glm{
namespace gtx{
//! GLM_GTX_random extension: Generate random number from varius distribution methods

View File

@ -17,6 +17,10 @@
#include "../glm.hpp"
#include "../gtc/type_precision.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_raw_data extension included")
#endif
namespace glm{
namespace gtx
{

View File

@ -13,6 +13,10 @@
// Dependency:
#include "../glm.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_reciprocal extension included")
#endif
namespace glm
{
namespace test{

View File

@ -17,6 +17,10 @@
#include "../glm.hpp"
#include "../gtx/transform.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_rotate_vector extension included")
#endif
namespace glm
{
namespace gtx{

View File

@ -19,6 +19,10 @@
#include "../core/intrinsic_matrix.hpp"
#include "../gtx/simd_vec4.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_simd_mat4 extension included")
#endif
namespace glm
{
namespace detail

View File

@ -19,6 +19,10 @@
#include "../core/intrinsic_common.hpp"
#include "../core/intrinsic_geometric.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_simd_vec4 extension included")
#endif
namespace glm
{
namespace detail

View File

@ -17,6 +17,10 @@
#include "../glm.hpp"
#include "../gtx/optimum_pow.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_spline extension included")
#endif
namespace glm
{
namespace gtx{

View File

@ -17,6 +17,10 @@
#include "../glm.hpp"
#include <cstdlib>
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_std_based_type extension included")
#endif
namespace glm
{
namespace test{

View File

@ -24,6 +24,10 @@
#include "../gtx/quaternion.hpp"
#include <string>
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_string_cast extension included")
#endif
namespace glm
{
namespace test{

View File

@ -18,6 +18,10 @@
#include "../glm.hpp"
#include "../gtc/matrix_transform.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_transform extension included")
#endif
namespace glm
{
namespace test{

View File

@ -18,6 +18,10 @@
#include "../glm.hpp"
#include "../gtx/transform.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_transform2 extension included")
#endif
namespace glm
{
namespace test{

View File

@ -18,6 +18,10 @@
#include "../glm.hpp"
#include "../gtx/integer.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_unsigned_int extension included")
#endif
namespace glm
{
namespace test{

View File

@ -17,6 +17,10 @@
#include "../glm.hpp"
#include "../core/type_vec1.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_vec1 extension included")
#endif
namespace glm
{
namespace test{

View File

@ -16,6 +16,10 @@
// Dependency:
#include "../glm.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_vector_access extension included")
#endif
namespace glm
{
namespace test{

View File

@ -20,6 +20,10 @@
#include "../gtx/quaternion.hpp"
#include "../gtx/epsilon.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_vector_angle extension included")
#endif
namespace glm
{
namespace test{

View File

@ -18,6 +18,10 @@
#include <cfloat>
#include <limits>
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_vector_query extension included")
#endif
namespace glm
{
namespace test{

View File

@ -16,6 +16,10 @@
// Dependency:
#include "../glm.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_verbose_operator extension included")
#endif
namespace glm
{
namespace test{

View File

@ -16,6 +16,10 @@
// Dependency:
#include "../glm.hpp"
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_wrap extension included")
#endif
namespace glm
{
namespace test{

View File

@ -19,6 +19,10 @@
#include "../gtc/matrix_access.hpp"
#include <iostream>
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_VIRTREV_xstream extension included")
#endif
namespace glm
{
namespace virtrev_glmext