mirror of
https://github.com/g-truc/glm.git
synced 2024-11-23 09:14:34 +00:00
Reduced exposed API, reduced included dependencies
This commit is contained in:
parent
7086d902e2
commit
1d9a8028e4
@ -14,10 +14,10 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
// Dependency:
|
// Dependency:
|
||||||
#include "../mat3x3.hpp"
|
#include "../detail/type_mat3x3.hpp"
|
||||||
#include "../mat4x4.hpp"
|
#include "../detail/type_mat4x4.hpp"
|
||||||
#include "../vec3.hpp"
|
#include "../detail/type_vec3.hpp"
|
||||||
#include "../vec4.hpp"
|
#include "../detail/type_vec4.hpp"
|
||||||
#include "../ext/vector_relational.hpp"
|
#include "../ext/vector_relational.hpp"
|
||||||
#include "../gtc/constants.hpp"
|
#include "../gtc/constants.hpp"
|
||||||
#include "../gtc/matrix_transform.hpp"
|
#include "../gtc/matrix_transform.hpp"
|
||||||
@ -46,6 +46,8 @@ namespace glm
|
|||||||
{
|
{
|
||||||
struct { T x, y, z, w;};
|
struct { T x, y, z, w;};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
typename detail::storage<4, T, detail::is_aligned<Q>::value>::type data;
|
||||||
# else
|
# else
|
||||||
T x, y, z, w;
|
T x, y, z, w;
|
||||||
# endif
|
# endif
|
||||||
|
Loading…
Reference in New Issue
Block a user