Fixed build, fixed extensions list

This commit is contained in:
Christophe Riccio 2010-04-30 09:59:43 +01:00
parent d5c4dc0aeb
commit 990ec8df2f
5 changed files with 11 additions and 16 deletions

View File

@ -1,3 +1,6 @@
#include "../glm.hpp"
#include "../ext.hpp"
int main() int main()
{ {

View File

@ -18,17 +18,17 @@
#include "gtc/matrix_transform.hpp" #include "gtc/matrix_transform.hpp"
#include "gtc/quaternion.hpp" #include "gtc/quaternion.hpp"
#include "gtc/swizzle.hpp" #include "gtc/swizzle.hpp"
#include "gtc/type_precision.hpp"
//#include "./gtx/array_range.hpp"
#include "./gtx/associated_min_max.hpp" #include "./gtx/associated_min_max.hpp"
#include "./gtx/bit.hpp" #include "./gtx/bit.hpp"
#include "./gtx/closest_point.hpp" #include "./gtx/closest_point.hpp"
#include "./gtx/color_cast.hpp" #include "./gtx/color_cast.hpp"
#include "./gtx/color_space.hpp" #include "./gtx/color_space.hpp"
#include "./gtx/color_space_YCoCg.hpp" #include "./gtx/color_space_YCoCg.hpp"
#include "./gtx/comparison.hpp"
#include "./gtx/compatibility.hpp" #include "./gtx/compatibility.hpp"
#include "./gtx/component_wise.hpp" #include "./gtx/component_wise.hpp"
//#include "./gtx/complex.hpp"
#include "./gtx/determinant.hpp" #include "./gtx/determinant.hpp"
#include "./gtx/double_float.hpp" #include "./gtx/double_float.hpp"
#include "./gtx/epsilon.hpp" #include "./gtx/epsilon.hpp"
@ -38,8 +38,6 @@
#include "./gtx/fast_exponential.hpp" #include "./gtx/fast_exponential.hpp"
#include "./gtx/fast_square_root.hpp" #include "./gtx/fast_square_root.hpp"
#include "./gtx/fast_trigonometry.hpp" #include "./gtx/fast_trigonometry.hpp"
//#include "./gtx/flexible_mix.hpp"
//#include "./gtx/gpu_shader4.hpp"
#include "./gtx/gradient_paint.hpp" #include "./gtx/gradient_paint.hpp"
#include "./gtx/half_float.hpp" #include "./gtx/half_float.hpp"
#include "./gtx/handed_coordinate_space.hpp" #include "./gtx/handed_coordinate_space.hpp"
@ -48,11 +46,11 @@
#include "./gtx/intersect.hpp" #include "./gtx/intersect.hpp"
#include "./gtx/inverse.hpp" #include "./gtx/inverse.hpp"
#include "./gtx/inverse_transpose.hpp" #include "./gtx/inverse_transpose.hpp"
//#include "./gtx/mat_mn.hpp"
#include "./gtx/log_base.hpp" #include "./gtx/log_base.hpp"
#include "./gtx/matrix_access.hpp" #include "./gtx/matrix_access.hpp"
#include "./gtx/matrix_cross_product.hpp" #include "./gtx/matrix_cross_product.hpp"
#include "./gtx/matrix_major_storage.hpp" #include "./gtx/matrix_major_storage.hpp"
#include "./gtx/matrix_operation.hpp"
#include "./gtx/matrix_projection.hpp" #include "./gtx/matrix_projection.hpp"
#include "./gtx/matrix_query.hpp" #include "./gtx/matrix_query.hpp"
#include "./gtx/matrix_selection.hpp" #include "./gtx/matrix_selection.hpp"
@ -62,6 +60,7 @@
#include "./gtx/normal.hpp" #include "./gtx/normal.hpp"
#include "./gtx/normalize_dot.hpp" #include "./gtx/normalize_dot.hpp"
#include "./gtx/number_precision.hpp" #include "./gtx/number_precision.hpp"
#include "./gtx/ocl_type.hpp"
#include "./gtx/optimum_pow.hpp" #include "./gtx/optimum_pow.hpp"
#include "./gtx/orthonormalize.hpp" #include "./gtx/orthonormalize.hpp"
#include "./gtx/perpendicular.hpp" #include "./gtx/perpendicular.hpp"
@ -90,7 +89,6 @@
#include "./virtrev/address.hpp" #include "./virtrev/address.hpp"
#include "./virtrev/equal_operator.hpp" #include "./virtrev/equal_operator.hpp"
#include "./virtrev/xstream.hpp"
//const float goldenRatio = 1.618033988749894848f; //const float goldenRatio = 1.618033988749894848f;
//const float pi = 3.141592653589793238f; //const float pi = 3.141592653589793238f;

View File

@ -183,10 +183,7 @@ namespace glm
} }
} }
#define GLM_VIRTREV_address namespace virtrev_glmext::address namespace glm{using namespace virtrev_glmext::address;}
#ifndef GLM_VIRTREV_GLOBAL
namespace glm {using GLM_VIRTREV_address;}
#endif//GLM_VIRTREV_GLOBAL
#endif//GLM_EXT_VIRTREV_ADDRESS_HPP #endif//GLM_EXT_VIRTREV_ADDRESS_HPP

View File

@ -62,7 +62,7 @@ namespace glm
} }
} }
namespace glm {namespace virtrev_glmext::equal_operator;} namespace glm {using namespace virtrev_glmext::equal_operator;}
#endif//glm_virtrev_equal_operator #endif//glm_virtrev_equal_operator

View File

@ -139,9 +139,6 @@ namespace glm
} }
} }
#define GLM_VIRTREV_xstream namespace glm::virtrev_glmext::xstream namespace glm{using namespace glm::virtrev_glmext::xstream;}
#ifndef GLM_VIRTREV_GLOBAL
namespace glm {using GLM_VIRTREV_xstream;}
#endif//GLM_VIRTREV_GLOBAL
#endif #endif//GLM_EXT_VIRTREV_XSTREAM_HPP