mirror of
https://github.com/g-truc/glm.git
synced 2024-11-30 03:44:38 +00:00
Added GTX_vec_swizzle, faster compile time swizzling then swizzle operator #558
This commit is contained in:
parent
7157969a05
commit
a17f795aaf
@ -104,6 +104,7 @@
|
|||||||
#endif
|
#endif
|
||||||
#include "./gtx/transform.hpp"
|
#include "./gtx/transform.hpp"
|
||||||
#include "./gtx/transform2.hpp"
|
#include "./gtx/transform2.hpp"
|
||||||
|
#include "./gtx/vec_swizzle.hpp"
|
||||||
#include "./gtx/vector_angle.hpp"
|
#include "./gtx/vector_angle.hpp"
|
||||||
#include "./gtx/vector_query.hpp"
|
#include "./gtx/vector_query.hpp"
|
||||||
#include "./gtx/wrap.hpp"
|
#include "./gtx/wrap.hpp"
|
||||||
|
@ -54,6 +54,7 @@ glm::mat4 camera(float Translate, glm::vec2 const & Rotate)
|
|||||||
##### Features:
|
##### Features:
|
||||||
- Added RGBM encoding in GTC_packing #420
|
- Added RGBM encoding in GTC_packing #420
|
||||||
- Added GTC_color_encoding extension
|
- Added GTC_color_encoding extension
|
||||||
|
- Added GTX_vec_swizzle, faster compile time swizzling then swizzle operator #558
|
||||||
|
|
||||||
##### Improvements:
|
##### Improvements:
|
||||||
- Added lowp variant of GTC_colorspace convertLinearToSRGB #419
|
- Added lowp variant of GTC_colorspace convertLinearToSRGB #419
|
||||||
|
@ -44,6 +44,7 @@ glmCreateTestGTC(gtx_spline)
|
|||||||
glmCreateTestGTC(gtx_string_cast)
|
glmCreateTestGTC(gtx_string_cast)
|
||||||
glmCreateTestGTC(gtx_type_aligned)
|
glmCreateTestGTC(gtx_type_aligned)
|
||||||
glmCreateTestGTC(gtx_type_trait)
|
glmCreateTestGTC(gtx_type_trait)
|
||||||
|
glmCreateTestGTC(gtx_vec_swizzle)
|
||||||
glmCreateTestGTC(gtx_vector_angle)
|
glmCreateTestGTC(gtx_vector_angle)
|
||||||
glmCreateTestGTC(gtx_vector_query)
|
glmCreateTestGTC(gtx_vector_query)
|
||||||
glmCreateTestGTC(gtx_wrap)
|
glmCreateTestGTC(gtx_wrap)
|
||||||
|
10
test/gtx/gtx_vec_swizzle.cpp
Normal file
10
test/gtx/gtx_vec_swizzle.cpp
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
#include <glm/gtx/vec_swizzle.hpp>
|
||||||
|
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
int Error = 0;
|
||||||
|
|
||||||
|
|
||||||
|
return Error;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user