Removed old deprecated test function declarations

This commit is contained in:
Christophe Riccio 2011-05-18 14:55:06 +01:00
parent c99e2f523f
commit 9ecdd379e4
52 changed files with 329 additions and 539 deletions

View File

@ -17,11 +17,7 @@
# pragma message("GLM: GLM_GTC_half_float extension included") # pragma message("GLM: GLM_GTC_half_float extension included")
#endif #endif
namespace glm namespace glm{
{
namespace test{
bool main_gtc_half_float();
}//namespace
namespace detail namespace detail
{ {
#ifndef _MSC_EXTENSIONS #ifndef _MSC_EXTENSIONS

View File

@ -22,10 +22,6 @@
namespace glm namespace glm
{ {
namespace test{
bool main_gtc_matrix_integer();
}//namespace test
namespace gtc{ namespace gtc{
//! GLM_GTC_matrix_integer extension: Add integer matrices //! GLM_GTC_matrix_integer extension: Add integer matrices
namespace matrix_integer namespace matrix_integer

View File

@ -23,10 +23,6 @@
namespace glm namespace glm
{ {
namespace test{
bool main_gtc_matrix_transform();
}//namespace test
namespace gtc{ namespace gtc{
//! GLM_GTC_matrix_transform extension: Add transformation matrices //! GLM_GTC_matrix_transform extension: Add transformation matrices
namespace matrix_transform namespace matrix_transform

View File

@ -28,10 +28,6 @@
namespace glm namespace glm
{ {
namespace test{
bool main_gtc_quaternion();
}//namespace test
namespace detail namespace detail
{ {
//! \brief Template for quaternion. //! \brief Template for quaternion.

View File

@ -23,10 +23,6 @@
namespace glm namespace glm
{ {
namespace test{
void main_gtc_swizzle();
}//namespace test
namespace gtc{ namespace gtc{
//! GLM_GTC_swizzle extension //! GLM_GTC_swizzle extension
namespace swizzle namespace swizzle

View File

@ -26,10 +26,6 @@
namespace glm namespace glm
{ {
namespace test{
bool main_gtc_type_precision();
}//namespace test
namespace gtc{ namespace gtc{
//! GLM_GTC_type_precision extension: Defined types with specific size. //! GLM_GTC_type_precision extension: Defined types with specific size.
namespace type_precision namespace type_precision

View File

@ -23,10 +23,6 @@
namespace glm namespace glm
{ {
namespace test{
void main_gtc_type_ptr();
}//namespace test
namespace gtc{ namespace gtc{
//! GLM_GTC_type_ptr extension: Get access to vectors & matrices value type address. //! GLM_GTC_type_ptr extension: Get access to vectors & matrices value type address.
namespace type_ptr{ namespace type_ptr{

View File

@ -23,10 +23,6 @@
namespace glm namespace glm
{ {
namespace test{
void main_gtx_associated_min_max();
}//namespace test
namespace gtx namespace gtx
{ {
//! GLM_GTX_associated_min_max extension: Min and max functions that return associated values not the compared onces. //! GLM_GTX_associated_min_max extension: Min and max functions that return associated values not the compared onces.

View File

@ -24,10 +24,6 @@
namespace glm namespace glm
{ {
namespace test{
void main_gtx_bit();
}//namespace test
namespace gtx{ namespace gtx{
//! GLM_GTX_bit extension: Allow to perform bit operations on integer values //! GLM_GTX_bit extension: Allow to perform bit operations on integer values
namespace bit namespace bit

View File

@ -22,10 +22,6 @@
namespace glm namespace glm
{ {
namespace test{
void main_gtx_closest_point();
}//namespace test
namespace gtx{ namespace gtx{
//! GLM_GTX_closest_point extension: Find the point on a straight line which is the closet of a point. //! GLM_GTX_closest_point extension: Find the point on a straight line which is the closet of a point.
namespace closest_point{ namespace closest_point{

View File

@ -24,10 +24,6 @@
namespace glm namespace glm
{ {
namespace test{
void main_ext_gtx_color_cast();
}//namespace test
namespace gtx{ namespace gtx{
//! GLM_GTX_color_cast extension: Conversion between two color types //! GLM_GTX_color_cast extension: Conversion between two color types
namespace color_cast namespace color_cast

View File

@ -22,10 +22,6 @@
namespace glm namespace glm
{ {
namespace test{
void main_gtx_color_space();
}//namespace test
namespace gtx{ namespace gtx{
//! GLM_GTX_color_space extension: Related to RGB to HSV conversions and operations //! GLM_GTX_color_space extension: Related to RGB to HSV conversions and operations
namespace color_space namespace color_space

View File

@ -22,10 +22,6 @@
namespace glm namespace glm
{ {
namespace test{
void main_gtx_color_space_YCoCg();
}//namespace test
namespace gtx{ namespace gtx{
//! GLM_GTX_color_space_YCoCg extension: RGB to YCoCg conversions and operations //! GLM_GTX_color_space_YCoCg extension: RGB to YCoCg conversions and operations
namespace color_space_YCoCg namespace color_space_YCoCg

View File

@ -30,10 +30,6 @@
namespace glm namespace glm
{ {
namespace test{
void main_gtx_compatibility();
}//namespace test
namespace gtx{ namespace gtx{
//! GLM_GTX_compatibility extension: Provide functions to increase the compatibility with Cg and HLSL languages //! GLM_GTX_compatibility extension: Provide functions to increase the compatibility with Cg and HLSL languages
namespace compatibility namespace compatibility

View File

@ -22,10 +22,6 @@
namespace glm namespace glm
{ {
namespace test{
void main_gtx_component_wise();
}//namespace test
namespace gtx{ namespace gtx{
//! GLM_GTX_component_wise extension: Operations between components of a type //! GLM_GTX_component_wise extension: Operations between components of a type
namespace component_wise namespace component_wise

View File

@ -24,10 +24,6 @@
namespace glm namespace glm
{ {
namespace test{
void main_gtx_epsilon();
}//namespace test
namespace gtx{ namespace gtx{
//! GLM_GTX_epsilon extension: Comparison functions for a user defined epsilon values. //! GLM_GTX_epsilon extension: Comparison functions for a user defined epsilon values.
namespace epsilon namespace epsilon

View File

@ -22,10 +22,6 @@
namespace glm namespace glm
{ {
namespace test{
void main_gtx_extend();
}//namespace test
namespace gtx{ namespace gtx{
//! GLM_GTX_extend extension: Extend a position from a source to a position at a defined length. //! GLM_GTX_extend extension: Extend a position from a source to a position at a defined length.
namespace extend namespace extend

View File

@ -24,10 +24,6 @@
namespace glm namespace glm
{ {
namespace test{
void main_ext_gtx_extented_min_max();
}//namespace test
namespace gtx{ namespace gtx{
//! GLM_GTX_extented_min_max extension: Min and max functions for 3 to 4 parameters. //! GLM_GTX_extented_min_max extension: Min and max functions for 3 to 4 parameters.
namespace extented_min_max namespace extented_min_max

View File

@ -24,10 +24,6 @@
namespace glm namespace glm
{ {
namespace test{
void main_gtx_fast_exponential();
}//namespace test
namespace gtx{ namespace gtx{
//! GLM_GTX_fast_exponential extension: Fast but less accurate implementations of exponential based functions. //! GLM_GTX_fast_exponential extension: Fast but less accurate implementations of exponential based functions.
namespace fast_exponential namespace fast_exponential

View File

@ -26,10 +26,6 @@
namespace glm namespace glm
{ {
namespace test{
void main_gtx_fast_square_root();
}//namespace test
namespace gtx{ namespace gtx{
//! GLM_GTX_fast_square_root extension: Fast but less accurate implementations of square root based functions. //! GLM_GTX_fast_square_root extension: Fast but less accurate implementations of square root based functions.
namespace fast_square_root namespace fast_square_root

View File

@ -22,10 +22,6 @@
namespace glm namespace glm
{ {
namespace test{
void main_gtx_fast_trigonometry();
}//namespace test
namespace gtx{ namespace gtx{
//! GLM_GTX_fast_trigonometry extension: Fast but less accurate implementations of trigonometric functions. //! GLM_GTX_fast_trigonometry extension: Fast but less accurate implementations of trigonometric functions.
namespace fast_trigonometry namespace fast_trigonometry

View File

@ -23,10 +23,6 @@
namespace glm namespace glm
{ {
namespace test{
void main_gtx_gradient_paint();
}//namespace test
namespace gtx{ namespace gtx{
//! GLM_GTX_gradient_paint extension: Compute a radient gradient according section OpenVG 1.1 specifications, 9.3.2 Radial Gradients //! GLM_GTX_gradient_paint extension: Compute a radient gradient according section OpenVG 1.1 specifications, 9.3.2 Radial Gradients
namespace gradient_paint namespace gradient_paint

View File

@ -24,10 +24,6 @@
namespace glm namespace glm
{ {
namespace test{
void main_gtx_intesect();
}//namespace test
namespace gtx{ namespace gtx{
//! GLM_GTX_intersect extension: Add intersection functions //! GLM_GTX_intersect extension: Add intersection functions
namespace intersect namespace intersect

View File

@ -22,10 +22,6 @@
namespace glm namespace glm
{ {
namespace test{
void main_ext_gtx_log_base();
}//namespace test
namespace gtx{ namespace gtx{
//! GLM_GTX_log_base extension: Logarithm for any base. base can be a vector or a scalar. //! GLM_GTX_log_base extension: Logarithm for any base. base can be a vector or a scalar.
namespace log_base namespace log_base

View File

@ -22,10 +22,6 @@
namespace glm namespace glm
{ {
namespace test{
void main_gtx_matrix_cross_product();
}//namespace test
namespace gtx{ namespace gtx{
//! GLM_GTX_matrix_cross_product: Build cross product matrices //! GLM_GTX_matrix_cross_product: Build cross product matrices
namespace matrix_cross_product namespace matrix_cross_product

View File

@ -25,10 +25,6 @@
namespace glm namespace glm
{ {
namespace test{
void main_gtx_transform();
}//namespace test
namespace gtx{ namespace gtx{
//! GLM_GTX_matrix_interpolation extension: Add transformation matrices //! GLM_GTX_matrix_interpolation extension: Add transformation matrices
namespace matrix_interpolation namespace matrix_interpolation

View File

@ -22,10 +22,6 @@
namespace glm namespace glm
{ {
namespace test{
void main_gtx_matrix_operation();
}//namespace test
namespace gtx{ namespace gtx{
//! GLM_GTX_matrix_operation: Build diagonal matrices //! GLM_GTX_matrix_operation: Build diagonal matrices
namespace matrix_operation namespace matrix_operation

View File

@ -22,10 +22,6 @@
namespace glm namespace glm
{ {
namespace test{
void main_gtx_matrix_query();
}//namespace test
namespace gtx{ namespace gtx{
//! GLM_GTX_matrix_query: Query to evaluate matrix properties //! GLM_GTX_matrix_query: Query to evaluate matrix properties
namespace matrix_query namespace matrix_query

View File

@ -22,10 +22,6 @@
namespace glm namespace glm
{ {
namespace test{
void main_gtx_matrix_selection();
}//namespace test
namespace gtx{ namespace gtx{
//! GLM_GTX_mixed_product extension: Mixed product of 3 vectors. //! GLM_GTX_mixed_product extension: Mixed product of 3 vectors.
namespace mixed_product namespace mixed_product

View File

@ -22,10 +22,6 @@
namespace glm namespace glm
{ {
namespace test{
bool main_img_multiple();
}//namespace test
namespace gtx{ namespace gtx{
//! GLM_GTX_multiple: Find the closest number of a number multiple of other number. //! GLM_GTX_multiple: Find the closest number of a number multiple of other number.
namespace multiple namespace multiple

View File

@ -27,10 +27,6 @@
namespace glm namespace glm
{ {
namespace test{
void main_gtx_noise();
}//namespace test
namespace gtx{ namespace gtx{
//! GLM_GTX_noise extension: Comparison functions for a user defined epsilon values. //! GLM_GTX_noise extension: Comparison functions for a user defined epsilon values.
namespace noise namespace noise

View File

@ -27,10 +27,6 @@
namespace glm namespace glm
{ {
namespace test{
void main_gtx_norm();
}//namespace test
namespace gtx{ namespace gtx{
//! GLM_GTX_norm extension: Various way to compute vector norms. //! GLM_GTX_norm extension: Various way to compute vector norms.
namespace norm namespace norm

View File

@ -22,10 +22,6 @@
namespace glm namespace glm
{ {
namespace test{
void main_gtx_normal();
}//namespace test
namespace gtx{ namespace gtx{
//! GLM_GTX_normal extension: Compute the normal of a triangle. //! GLM_GTX_normal extension: Compute the normal of a triangle.
namespace normal namespace normal

View File

@ -22,10 +22,6 @@
namespace glm namespace glm
{ {
namespace test{
void main_gtx_optimum_pow();
}//namespace test
namespace gtx{ namespace gtx{
//! GLM_GTX_optimum_pow extension: Integer exponentiation of power functions. //! GLM_GTX_optimum_pow extension: Integer exponentiation of power functions.
namespace optimum_pow namespace optimum_pow

View File

@ -22,10 +22,6 @@
namespace glm namespace glm
{ {
namespace test{
void main_gtx_orthonormalize();
}//namespace test
namespace gtx{ namespace gtx{
//! GLM_GTX_orthonormalize extension: Orthonormalize matrices. //! GLM_GTX_orthonormalize extension: Orthonormalize matrices.
namespace orthonormalize namespace orthonormalize

View File

@ -24,10 +24,6 @@
namespace glm namespace glm
{ {
namespace test{
void main_gtx_perpendicular();
}//namespace test
namespace gtx{ namespace gtx{
//! GLM_GTX_perpendicular extension: Perpendicular of a vector from other one //! GLM_GTX_perpendicular extension: Perpendicular of a vector from other one
namespace perpendicular namespace perpendicular

View File

@ -22,10 +22,6 @@
namespace glm namespace glm
{ {
namespace test{
void main_gtx_projection();
}//namespace test
namespace gtx{ namespace gtx{
//! GLM_GTX_projection extension: Projection of a vector to other one //! GLM_GTX_projection extension: Projection of a vector to other one
namespace projection namespace projection

View File

@ -19,10 +19,6 @@
namespace glm namespace glm
{ {
namespace test{
void main_gtx_reciprocal();
}//namespace test
namespace gtx{ namespace gtx{
//! GLM_GTX_reciprocal extension: Define secant, cosecant and cotangent functions. //! GLM_GTX_reciprocal extension: Define secant, cosecant and cotangent functions.
namespace reciprocal namespace reciprocal

View File

@ -20,12 +20,11 @@
# pragma message("GLM: GLM_GTX_simplex extension included") # pragma message("GLM: GLM_GTX_simplex extension included")
#endif #endif
namespace glm namespace glm{
namespace gtx{
//! GLM_GTX_simplex extension: Spline functions
namespace spline
{ {
namespace gtx{
//! GLM_GTX_simplex extension: Spline functions
namespace spline
{
/// \addtogroup gtx_spline /// \addtogroup gtx_spline
///@{ ///@{
@ -61,8 +60,8 @@ namespace glm
///@} ///@}
}//namespace simplex }//namespace simplex
}//namespace gtx }//namespace gtx
}//namespace glm }//namespace glm
#include "simplex.inl" #include "simplex.inl"

View File

@ -21,12 +21,11 @@
# pragma message("GLM: GLM_GTX_spline extension included") # pragma message("GLM: GLM_GTX_spline extension included")
#endif #endif
namespace glm namespace glm{
namespace gtx{
//! GLM_GTX_spline extension: Spline functions
namespace spline
{ {
namespace gtx{
//! GLM_GTX_spline extension: Spline functions
namespace spline
{
using namespace gtx::optimum_pow; using namespace gtx::optimum_pow;
/// \addtogroup gtx_spline /// \addtogroup gtx_spline
@ -64,8 +63,8 @@ namespace glm
///@} ///@}
}//namespace spline }//namespace spline
}//namespace gtx }//namespace gtx
}//namespace glm }//namespace glm
#include "spline.inl" #include "spline.inl"

View File

@ -23,10 +23,6 @@
namespace glm namespace glm
{ {
namespace test{
void main_gtx_std_based_type();
}//namespace test
namespace gtx{ namespace gtx{
//! GLM_GTX_std_based_type extension: Add support vector types based on C++ standard type //! GLM_GTX_std_based_type extension: Add support vector types based on C++ standard type
namespace std_based_type namespace std_based_type

View File

@ -30,10 +30,6 @@
namespace glm namespace glm
{ {
namespace test{
void main_gtx_string_cast();
}//namespace test
namespace gtx{ namespace gtx{
//! GLM_GTX_string_cast extension: Setup strings for GLM type values //! GLM_GTX_string_cast extension: Setup strings for GLM type values
namespace string_cast namespace string_cast

View File

@ -24,10 +24,6 @@
namespace glm namespace glm
{ {
namespace test{
void main_gtx_transform();
}//namespace test
namespace gtx{ namespace gtx{
//! GLM_GTX_transform extension: Add transformation matrices //! GLM_GTX_transform extension: Add transformation matrices
namespace transform namespace transform

View File

@ -24,10 +24,6 @@
namespace glm namespace glm
{ {
namespace test{
void main_gtx_transform2();
}//namespace test
namespace gtx{ namespace gtx{
//! GLM_GTX_transform2 extension: Add extra transformation matrices //! GLM_GTX_transform2 extension: Add extra transformation matrices
namespace transform2 namespace transform2

View File

@ -20,12 +20,10 @@
# pragma message("GLM: GLM_GTX_ulp extension included") # pragma message("GLM: GLM_GTX_ulp extension included")
#endif #endif
namespace glm namespace glm{
namespace gtx{
namespace ulp ///< GLM_GTX_ulp extension: Precision calculation functions
{ {
namespace gtx{
//! GLM_GTX_ulp extension: Precision calculation functions
namespace ulp
{
/// \addtogroup gtx_ulp /// \addtogroup gtx_ulp
///@{ ///@{
@ -61,8 +59,8 @@ namespace glm
///@} ///@}
}//namespace ulp }//namespace ulp
}//namespace gtx }//namespace gtx
}//namespace glm }//namespace glm
#include "ulp.inl" #include "ulp.inl"

View File

@ -22,16 +22,10 @@
# pragma message("GLM: GLM_GTX_unsigned_int extension included") # pragma message("GLM: GLM_GTX_unsigned_int extension included")
#endif #endif
namespace glm namespace glm{
namespace gtx{
namespace unsigned_int ///< GLM_GTX_unsigned_int extension: Add support for unsigned integer for core functions
{ {
namespace test{
void main_gtx_unsigned_int();
}//namespace test
namespace gtx{
//! GLM_GTX_unsigned_int extension: Add support for unsigned integer for core functions
namespace unsigned_int
{
using namespace gtx::integer; using namespace gtx::integer;
/// \addtogroup gtx_unsigned_int /// \addtogroup gtx_unsigned_int
@ -55,8 +49,8 @@ namespace glm
///@} ///@}
}//namespace unsigned_int }//namespace unsigned_int
}//namespace gtx }//namespace gtx
}//namespace glm }//namespace glm
#include "unsigned_int.inl" #include "unsigned_int.inl"

View File

@ -21,18 +21,11 @@
# pragma message("GLM: GLM_GTX_vec1 extension included") # pragma message("GLM: GLM_GTX_vec1 extension included")
#endif #endif
namespace glm namespace glm{
namespace gtx{
namespace vector1{ ///< GLM_GTX_vec1 extension: 1 component vector.
namespace precision
{ {
namespace test{
void main_gtx_vector1();
}//namespace test
namespace gtx{
//! GLM_GTX_vector1 extension: 1 component vector.
namespace vector1
{
namespace precision
{
//! 1 component vector of high precision floating-point numbers. //! 1 component vector of high precision floating-point numbers.
//! There is no guarantee on the actual precision. //! There is no guarantee on the actual precision.
//! From GLM_GTX_vec1 extension. //! From GLM_GTX_vec1 extension.
@ -71,7 +64,7 @@ namespace glm
//! There is no guarantee on the actual precision. //! There is no guarantee on the actual precision.
//! From GLM_GTX_vec1 extension. //! From GLM_GTX_vec1 extension.
typedef detail::lowp_uvec1_t lowp_uvec1; typedef detail::lowp_uvec1_t lowp_uvec1;
}//namespace precision }//namespace precision
////////////////////////// //////////////////////////
// vec1 definition // vec1 definition
@ -116,8 +109,8 @@ namespace glm
typedef precision::mediump_uvec1 uvec1; typedef precision::mediump_uvec1 uvec1;
#endif//GLM_PRECISION #endif//GLM_PRECISION
}//namespace vec1 }//namespace vec1
}//namespace gtx }//namespace gtx
}//namespace glm }//namespace glm
#include "vec1.inl" #include "vec1.inl"

View File

@ -20,16 +20,10 @@
# pragma message("GLM: GLM_GTX_vector_access extension included") # pragma message("GLM: GLM_GTX_vector_access extension included")
#endif #endif
namespace glm namespace glm{
namespace gtx{
namespace vector_access ///< GLM_GTX_vector_access extension: Function to set values to vectors
{ {
namespace test{
void main_gtx_vector_access();
}//namespace test
namespace gtx{
//! GLM_GTX_vector_access extension: Function to set values to vectors
namespace vector_access
{
/// \addtogroup gtx_vector_access /// \addtogroup gtx_vector_access
///@{ ///@{
@ -62,8 +56,8 @@ namespace glm
///@} ///@}
}//namespace vector_access }//namespace vector_access
}//namespace gtx }//namespace gtx
}//namespace glm }//namespace glm
#include "vector_access.inl" #include "vector_access.inl"

View File

@ -27,8 +27,7 @@
namespace glm{ namespace glm{
namespace gtx{ namespace gtx{
//! GLM_GTX_vector_angle extension: Compute angle between vectors namespace vector_angle ///< GLM_GTX_vector_angle extension: Compute angle between vectors
namespace vector_angle
{ {
using namespace quaternion; using namespace quaternion;
using namespace epsilon; using namespace epsilon;

View File

@ -22,16 +22,10 @@
# pragma message("GLM: GLM_GTX_vector_query extension included") # pragma message("GLM: GLM_GTX_vector_query extension included")
#endif #endif
namespace glm namespace glm{
namespace gtx{
namespace vector_query ///< GLM_GTX_vector_query extension: Query informations of vector types
{ {
namespace test{
void main_ext_gtx_vector_query();
}//namespace test
namespace gtx{
//! GLM_GTX_vector_query extension: Query informations of vector types
namespace vector_query
{
/// \addtogroup gtx_vector_query /// \addtogroup gtx_vector_query
///@{ ///@{
@ -91,8 +85,8 @@ namespace glm
///@} ///@}
}//namespace vector_query }//namespace vector_query
}//namespace gtx }//namespace gtx
}//namespace glm }//namespace glm
#include "vector_query.inl" #include "vector_query.inl"

View File

@ -20,16 +20,10 @@
# pragma message("GLM: GLM_GTX_verbose_operator extension included") # pragma message("GLM: GLM_GTX_verbose_operator extension included")
#endif #endif
namespace glm namespace glm{
namespace gtx{
namespace verbose_operator ///< GLM_GTX_verbose_operator extension: Use words to replace operators
{ {
namespace test{
void main_ext_gtx_verbose_operator();
}//namespace test
namespace gtx{
//! GLM_GTX_verbose_operator extension: Use words to replace operators
namespace verbose_operator
{
/// \addtogroup gtx_verbose_operator /// \addtogroup gtx_verbose_operator
///@{ ///@{
@ -59,8 +53,8 @@ namespace glm
genTypeT mad(genTypeT const & a, genTypeU const & b, genTypeV const & c); genTypeT mad(genTypeT const & a, genTypeU const & b, genTypeV const & c);
///@} ///@}
}//namespace verbose_operator }//namespace verbose_operator
}//namespace gtx }//namespace gtx
}//namespace glm }//namespace glm
#include "verbose_operator.inl" #include "verbose_operator.inl"

View File

@ -20,16 +20,10 @@
# pragma message("GLM: GLM_GTX_wrap extension included") # pragma message("GLM: GLM_GTX_wrap extension included")
#endif #endif
namespace glm namespace glm{
namespace gtx{
namespace wrap ///< GLM_GTX_wrap: Wrapping mode using my texture samping.
{ {
namespace test{
bool main_gtx_wrap();
}//namespace test
namespace gtx{
//! GLM_GTX_wrap: Wrapping mode using my texture samping.
namespace wrap
{
/// \addtogroup gtx_wrap /// \addtogroup gtx_wrap
///@{ ///@{
@ -50,8 +44,8 @@ namespace glm
///@} ///@}
}//namespace wrap }//namespace wrap
}//namespace gtx }//namespace gtx
}//namespace glm }//namespace glm
#include "wrap.inl" #include "wrap.inl"