4 changes: 4 additions & 0 deletions glm/gtx/optimum_pow.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
// Dependency:
#include "../glm.hpp"

#ifndef GLM_ENABLE_EXPERIMENTAL
# error "GLM: GLM_GTX_optimum_pow is an experimetal extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
#endif

#if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
# pragma message("GLM: GLM_GTX_optimum_pow extension included")
#endif
Expand Down
4 changes: 4 additions & 0 deletions glm/gtx/orthonormalize.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
#include "../mat3x3.hpp"
#include "../geometric.hpp"

#ifndef GLM_ENABLE_EXPERIMENTAL
# error "GLM: GLM_GTX_orthonormalize is an experimetal extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
#endif

#if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
# pragma message("GLM: GLM_GTX_orthonormalize extension included")
#endif
Expand Down
4 changes: 4 additions & 0 deletions glm/gtx/perpendicular.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
#include "../glm.hpp"
#include "../gtx/projection.hpp"

#ifndef GLM_ENABLE_EXPERIMENTAL
# error "GLM: GLM_GTX_perpendicular is an experimetal extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
#endif

#if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
# pragma message("GLM: GLM_GTX_perpendicular extension included")
#endif
Expand Down
4 changes: 4 additions & 0 deletions glm/gtx/polar_coordinates.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
// Dependency:
#include "../glm.hpp"

#ifndef GLM_ENABLE_EXPERIMENTAL
# error "GLM: GLM_GTX_polar_coordinates is an experimetal extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
#endif

#if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
# pragma message("GLM: GLM_GTX_polar_coordinates extension included")
#endif
Expand Down
4 changes: 4 additions & 0 deletions glm/gtx/projection.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
// Dependency:
#include "../geometric.hpp"

#ifndef GLM_ENABLE_EXPERIMENTAL
# error "GLM: GLM_GTX_projection is an experimetal extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
#endif

#if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
# pragma message("GLM: GLM_GTX_projection extension included")
#endif
Expand Down
4 changes: 4 additions & 0 deletions glm/gtx/quaternion.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
#include "../gtc/quaternion.hpp"
#include "../gtx/norm.hpp"

#ifndef GLM_ENABLE_EXPERIMENTAL
# error "GLM: GLM_GTX_quaternion is an experimetal extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
#endif

#if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
# pragma message("GLM: GLM_GTX_quaternion extension included")
#endif
Expand Down
4 changes: 4 additions & 0 deletions glm/gtx/range.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
// Dependencies
#include "../detail/setup.hpp"

#ifndef GLM_ENABLE_EXPERIMENTAL
# error "GLM: GLM_GTX_range is an experimetal extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
#endif

#if !GLM_HAS_RANGE_FOR
# error "GLM_GTX_range requires C++11 suppport or 'range for'"
#endif
Expand Down
4 changes: 4 additions & 0 deletions glm/gtx/raw_data.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
#include "../detail/setup.hpp"
#include "../detail/type_int.hpp"

#ifndef GLM_ENABLE_EXPERIMENTAL
# error "GLM: GLM_GTX_raw_data is an experimetal extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
#endif

#if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
# pragma message("GLM: GLM_GTX_raw_data extension included")
#endif
Expand Down
4 changes: 4 additions & 0 deletions glm/gtx/rotate_normalized_axis.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
#include "../gtc/epsilon.hpp"
#include "../gtc/quaternion.hpp"

#ifndef GLM_ENABLE_EXPERIMENTAL
# error "GLM: GLM_GTX_rotate_normalized_axis is an experimetal extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
#endif

#if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
# pragma message("GLM: GLM_GTX_rotate_normalized_axis extension included")
#endif
Expand Down
4 changes: 4 additions & 0 deletions glm/gtx/rotate_vector.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
#include "../glm.hpp"
#include "../gtx/transform.hpp"

#ifndef GLM_ENABLE_EXPERIMENTAL
# error "GLM: GLM_GTX_rotate_vector is an experimetal extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
#endif

#if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
# pragma message("GLM: GLM_GTX_rotate_vector extension included")
#endif
Expand Down
4 changes: 4 additions & 0 deletions glm/gtx/scalar_multiplication.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@

#include "../detail/setup.hpp"

#ifndef GLM_ENABLE_EXPERIMENTAL
# error "GLM: GLM_GTX_scalar_multiplication is an experimetal extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
#endif

#if !GLM_HAS_TEMPLATE_ALIASES && !(GLM_COMPILER & GLM_COMPILER_GCC)
# error "GLM_GTX_scalar_multiplication requires C++11 support or alias templates and if not support for GCC"
#endif
Expand Down
4 changes: 4 additions & 0 deletions glm/gtx/scalar_relational.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
// Dependency:
#include "../glm.hpp"

#ifndef GLM_ENABLE_EXPERIMENTAL
# error "GLM: GLM_GTX_extend is an experimetal extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
#endif

#if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
# pragma message("GLM: GLM_GTX_extend extension included")
#endif
Expand Down
4 changes: 4 additions & 0 deletions glm/gtx/spline.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
#include "../glm.hpp"
#include "../gtx/optimum_pow.hpp"

#ifndef GLM_ENABLE_EXPERIMENTAL
# error "GLM: GLM_GTX_spline is an experimetal extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
#endif

#if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
# pragma message("GLM: GLM_GTX_spline extension included")
#endif
Expand Down
4 changes: 4 additions & 0 deletions glm/gtx/std_based_type.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
#include "../glm.hpp"
#include <cstdlib>

#ifndef GLM_ENABLE_EXPERIMENTAL
# error "GLM: GLM_GTX_std_based_type is an experimetal extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
#endif

#if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
# pragma message("GLM: GLM_GTX_std_based_type extension included")
#endif
Expand Down
4 changes: 4 additions & 0 deletions glm/gtx/string_cast.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
#include "../gtx/dual_quaternion.hpp"
#include <string>

#ifndef GLM_ENABLE_EXPERIMENTAL
# error "GLM: GLM_GTX_string_cast is an experimetal extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
#endif

#if(GLM_COMPILER & GLM_COMPILER_CUDA)
# error "GLM_GTX_string_cast is not supported on CUDA compiler"
#endif
Expand Down
4 changes: 4 additions & 0 deletions glm/gtx/transform.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
#include "../glm.hpp"
#include "../gtc/matrix_transform.hpp"

#ifndef GLM_ENABLE_EXPERIMENTAL
# error "GLM: GLM_GTX_transform is an experimetal extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
#endif

#if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
# pragma message("GLM: GLM_GTX_transform extension included")
#endif
Expand Down
4 changes: 4 additions & 0 deletions glm/gtx/transform2.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
#include "../glm.hpp"
#include "../gtx/transform.hpp"

#ifndef GLM_ENABLE_EXPERIMENTAL
# error "GLM: GLM_GTX_transform2 is an experimetal extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
#endif

#if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
# pragma message("GLM: GLM_GTX_transform2 extension included")
#endif
Expand Down
4 changes: 4 additions & 0 deletions glm/gtx/type_aligned.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
// Dependency:
#include "../gtc/type_precision.hpp"

#ifndef GLM_ENABLE_EXPERIMENTAL
# error "GLM: GLM_GTX_type_aligned is an experimetal extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
#endif

#if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
# pragma message("GLM: GLM_GTX_type_aligned extension included")
#endif
Expand Down
4 changes: 4 additions & 0 deletions glm/gtx/type_trait.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@

#pragma once

#ifndef GLM_ENABLE_EXPERIMENTAL
# error "GLM: GLM_GTX_type_trait is an experimetal extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
#endif

// Dependency:
#include "../detail/type_vec2.hpp"
#include "../detail/type_vec3.hpp"
Expand Down
18 changes: 17 additions & 1 deletion glm/gtx/vec_swizzle.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
/// @ref gtx_vec_swizzle
/// @file glm/gtx/vec_swizzle.hpp
///
/// @see core (dependence)
///
/// @defgroup gtx_vec_swizzle GLM_GTX_vec_swizzle
/// @ingroup gtx
///
/// @brief Functions to perform swizzle operation.
///
/// <glm/gtx/vec_swizzle.hpp> need to be included to use these functionalities.

#pragma once

#include <glm/glm.hpp>
#include "../glm.hpp"

#ifndef GLM_ENABLE_EXPERIMENTAL
# error "GLM: GLM_GTX_vec_swizzle is an experimetal extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
#endif

namespace glm {
// xx
Expand Down
4 changes: 4 additions & 0 deletions glm/gtx/vector_angle.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
#include "../gtx/quaternion.hpp"
#include "../gtx/rotate_vector.hpp"

#ifndef GLM_ENABLE_EXPERIMENTAL
# error "GLM: GLM_GTX_vector_angle is an experimetal extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
#endif

#if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
# pragma message("GLM: GLM_GTX_vector_angle extension included")
#endif
Expand Down
4 changes: 4 additions & 0 deletions glm/gtx/vector_query.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
#include <cfloat>
#include <limits>

#ifndef GLM_ENABLE_EXPERIMENTAL
# error "GLM: GLM_GTX_vector_query is an experimetal extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
#endif

#if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
# pragma message("GLM: GLM_GTX_vector_query extension included")
#endif
Expand Down
4 changes: 4 additions & 0 deletions glm/gtx/wrap.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
#include "../glm.hpp"
#include "../gtc/vec1.hpp"

#ifndef GLM_ENABLE_EXPERIMENTAL
# error "GLM: GLM_GTX_wrap is an experimetal extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
#endif

#if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
# pragma message("GLM: GLM_GTX_wrap extension included")
#endif
Expand Down
2 changes: 2 additions & 0 deletions manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -1099,6 +1099,8 @@ GTX extensions are qualified to be experimental extensions. In GLM this means th
time. GTC extensions are stabled, tested and perfectly reliable in time. Many GTX extensions extend GTC extensions and provide a way to explore features and implementations and APIs and then are promoted to GTC
extensions. This is fairly the way OpenGL features are developed; through extensions.
Stating with GLM 0.9.9, to use experimental extensions, an application but define GLM_ENABLE_EXPERIMENTAL.
### 7.5. Where can I ask my questions? <a name="section7_5"></a>
A good place is [stackoverflow](http://stackoverflow.com/search?q=GLM) using the GLM tag.
Expand Down
1 change: 1 addition & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ glm::mat4 camera(float Translate, glm::vec2 const & Rotate)
- Added RGBM encoding in GTC_packing #420
- Added GTC_color_encoding extension
- Added GTX_vec_swizzle, faster compile time swizzling then swizzle operator #558
- Added [GLM_ENABLE_EXPERIMENTAL](manual.md#section7.4) to enable experimental features.
#### Improvements:
- Added lowp variant of GTC_colorspace convertLinearToSRGB #419
Expand Down
1 change: 1 addition & 0 deletions test/gtc/gtc_integer.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define GLM_ENABLE_EXPERIMENTAL
#define GLM_FORCE_INLINE
#include <glm/gtc/epsilon.hpp>
#include <glm/gtc/integer.hpp>
Expand Down
1 change: 1 addition & 0 deletions test/gtc/gtc_noise.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtc/noise.hpp>
#include <gli/gli.hpp>
#include <gli/gtx/loader.hpp>
Expand Down
1 change: 1 addition & 0 deletions test/gtx/gtx_associated_min_max.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtc/type_precision.hpp>
#include <glm/gtx/associated_min_max.hpp>

Expand Down
1 change: 1 addition & 0 deletions test/gtx/gtx_closest_point.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtx/closest_point.hpp>

int main()
Expand Down
1 change: 1 addition & 0 deletions test/gtx/gtx_color_space.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtx/color_space.hpp>

int test_saturation()
Expand Down
1 change: 1 addition & 0 deletions test/gtx/gtx_color_space_YCoCg.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtx/color_space_YCoCg.hpp>

int main()
Expand Down
1 change: 1 addition & 0 deletions test/gtx/gtx_common.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtx/common.hpp>
#include <glm/gtc/integer.hpp>
#include <glm/gtc/epsilon.hpp>
Expand Down
1 change: 1 addition & 0 deletions test/gtx/gtx_compatibility.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtx/compatibility.hpp>

int main()
Expand Down
1 change: 1 addition & 0 deletions test/gtx/gtx_component_wise.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtx/component_wise.hpp>
#include <glm/gtc/type_precision.hpp>
#include <glm/gtc/epsilon.hpp>
Expand Down
1 change: 1 addition & 0 deletions test/gtx/gtx_dual_quaternion.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtx/dual_quaternion.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/epsilon.hpp>
Expand Down
1 change: 1 addition & 0 deletions test/gtx/gtx_euler_angle.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// Code sample from Filippo Ramaciotti

#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/epsilon.hpp>
#include <glm/gtx/string_cast.hpp>
Expand Down
1 change: 1 addition & 0 deletions test/gtx/gtx_extend.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtx/extend.hpp>

int main()
Expand Down
1 change: 1 addition & 0 deletions test/gtx/gtx_extended_min_max.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtx/extended_min_max.hpp>

int main()
Expand Down
1 change: 1 addition & 0 deletions test/gtx/gtx_fast_exponential.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtx/fast_exponential.hpp>

int main()
Expand Down
1 change: 1 addition & 0 deletions test/gtx/gtx_fast_square_root.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtx/fast_square_root.hpp>
#include <glm/gtc/type_precision.hpp>
#include <glm/gtc/epsilon.hpp>
Expand Down
1 change: 1 addition & 0 deletions test/gtx/gtx_fast_trigonometry.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtc/type_precision.hpp>
#include <glm/gtx/fast_trigonometry.hpp>
#include <glm/gtx/integer.hpp>
Expand Down
1 change: 1 addition & 0 deletions test/gtx/gtx_gradient_paint.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtx/gradient_paint.hpp>

int test_radialGradient()
Expand Down
1 change: 1 addition & 0 deletions test/gtx/gtx_handed_coordinate_space.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtx/handed_coordinate_space.hpp>

int main()
Expand Down
1 change: 1 addition & 0 deletions test/gtx/gtx_integer.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/exponential.hpp>
#include <glm/gtc/epsilon.hpp>
#include <glm/gtx/integer.hpp>
Expand Down
1 change: 1 addition & 0 deletions test/gtx/gtx_intersect.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtx/intersect.hpp>

int main()
Expand Down
1 change: 1 addition & 0 deletions test/gtx/gtx_io.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtc/type_precision.hpp>
#include <glm/gtx/io.hpp>
#include <iostream>
Expand Down
1 change: 1 addition & 0 deletions test/gtx/gtx_log_base.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtx/log_base.hpp>
#include <glm/gtc/vec1.hpp>
#include <glm/gtc/epsilon.hpp>
Expand Down
1 change: 1 addition & 0 deletions test/gtx/gtx_matrix_cross_product.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtx/matrix_cross_product.hpp>

int main()
Expand Down
1 change: 1 addition & 0 deletions test/gtx/gtx_matrix_decompose.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtx/matrix_decompose.hpp>

int main()
Expand Down
1 change: 1 addition & 0 deletions test/gtx/gtx_matrix_interpolation.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtx/matrix_interpolation.hpp>

int main()
Expand Down
1 change: 1 addition & 0 deletions test/gtx/gtx_matrix_major_storage.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtx/matrix_major_storage.hpp>

int main()
Expand Down
1 change: 1 addition & 0 deletions test/gtx/gtx_matrix_operation.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtx/matrix_operation.hpp>

int main()
Expand Down
1 change: 1 addition & 0 deletions test/gtx/gtx_matrix_query.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtx/matrix_query.hpp>

int test_isNull()
Expand Down
1 change: 1 addition & 0 deletions test/gtx/gtx_matrix_transform_2d.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtx/matrix_transform_2d.hpp>

int main()
Expand Down
1 change: 1 addition & 0 deletions test/gtx/gtx_norm.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtx/norm.hpp>

int main()
Expand Down
1 change: 1 addition & 0 deletions test/gtx/gtx_normal.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtx/normal.hpp>

int main()
Expand Down
1 change: 1 addition & 0 deletions test/gtx/gtx_normalize_dot.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtx/normalize_dot.hpp>

int main()
Expand Down
1 change: 1 addition & 0 deletions test/gtx/gtx_number_precision.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtx/number_precision.hpp>

int main()
Expand Down
1 change: 1 addition & 0 deletions test/gtx/gtx_optimum_pow.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtx/optimum_pow.hpp>

int main()
Expand Down
1 change: 1 addition & 0 deletions test/gtx/gtx_orthonormalize.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtx/orthonormalize.hpp>

int main()
Expand Down
1 change: 1 addition & 0 deletions test/gtx/gtx_perpendicular.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtx/perpendicular.hpp>

int main()
Expand Down
1 change: 1 addition & 0 deletions test/gtx/gtx_polar_coordinates.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtx/polar_coordinates.hpp>

int main()
Expand Down
1 change: 1 addition & 0 deletions test/gtx/gtx_projection.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtx/projection.hpp>

int main()
Expand Down
1 change: 1 addition & 0 deletions test/gtx/gtx_quaternion.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtc/epsilon.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <glm/gtc/matrix_transform.hpp>
Expand Down
1 change: 1 addition & 0 deletions test/gtx/gtx_range.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/glm.hpp>
#include <glm/gtc/epsilon.hpp>

Expand Down
1 change: 1 addition & 0 deletions test/gtx/gtx_rotate_normalized_axis.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtx/rotate_normalized_axis.hpp>

int main()
Expand Down
1 change: 1 addition & 0 deletions test/gtx/gtx_rotate_vector.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtc/constants.hpp>
#include <glm/gtx/rotate_vector.hpp>

Expand Down
1 change: 1 addition & 0 deletions test/gtx/gtx_scalar_multiplication.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/glm.hpp>

#if GLM_HAS_TEMPLATE_ALIASES && !(GLM_COMPILER & GLM_COMPILER_GCC)
Expand Down
1 change: 1 addition & 0 deletions test/gtx/gtx_scalar_relational.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/glm.hpp>
#include <glm/gtx/scalar_relational.hpp>
#include <cstdio>
Expand Down
1 change: 1 addition & 0 deletions test/gtx/gtx_spline.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/vec2.hpp>
#include <glm/vec3.hpp>
#include <glm/vec4.hpp>
Expand Down
1 change: 1 addition & 0 deletions test/gtx/gtx_string_cast.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/glm.hpp>
#include <glm/gtx/string_cast.hpp>
#include <limits>
Expand Down
1 change: 1 addition & 0 deletions test/gtx/gtx_type_aligned.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtx/type_aligned.hpp>
#include <cstdio>

Expand Down
1 change: 1 addition & 0 deletions test/gtx/gtx_type_trait.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/vec4.hpp>
#include <glm/gtx/type_trait.hpp>

Expand Down
1 change: 1 addition & 0 deletions test/gtx/gtx_vec_swizzle.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtx/vec_swizzle.hpp>

int main()
Expand Down
1 change: 1 addition & 0 deletions test/gtx/gtx_vector_angle.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtc/constants.hpp>
#include <glm/gtx/vector_angle.hpp>
#include <limits>
Expand Down
1 change: 1 addition & 0 deletions test/gtx/gtx_vector_query.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/vec2.hpp>
#include <glm/vec3.hpp>
#include <glm/vec4.hpp>
Expand Down
1 change: 1 addition & 0 deletions test/gtx/gtx_wrap.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtx/wrap.hpp>
#include <glm/gtc/epsilon.hpp>

Expand Down