Fixed namespace visibility
This commit is contained in:
parent
0ffce51edf
commit
11d67b6749
23
glm/glm.hpp
23
glm/glm.hpp
@ -24,13 +24,8 @@
|
||||
#endif//GLM_MESSAGE
|
||||
|
||||
//! GLM namespace, it contains all GLSL based features.
|
||||
namespace glm{
|
||||
namespace test
|
||||
namespace glm
|
||||
{
|
||||
bool main_bug();
|
||||
bool main_core();
|
||||
}//namespace test
|
||||
|
||||
//! GLM core. Namespace that includes all the feature define by GLSL 4.10.6 specification. This namespace is included in glm namespace.
|
||||
namespace core
|
||||
{
|
||||
@ -38,7 +33,10 @@ namespace core
|
||||
//! from section 4.1.2 Booleans, 4.1.3 Integers section, 4.1.4 Floats section,
|
||||
//! 4.1.5 Vectors and section 4.1.6 Matrices of GLSL 1.30.8 specification.
|
||||
//! This namespace resolves precision qualifier define in section 4.5 of GLSL 1.30.8 specification.
|
||||
namespace type{}
|
||||
namespace type
|
||||
{
|
||||
namespace precision{}
|
||||
}
|
||||
|
||||
//! Some of the functions defined in section 8 Built-in Functions of GLSL 1.30.8 specification.
|
||||
//! Angle and trigonometry, exponential, common, geometric, matrix and vector relational functions.
|
||||
@ -54,6 +52,10 @@ namespace gtx{}
|
||||
|
||||
//! VIRTREV extensions.
|
||||
namespace virtrev{}
|
||||
|
||||
using namespace core::type;
|
||||
using namespace core::type::precision;
|
||||
using namespace core::function;
|
||||
}//namespace glm
|
||||
|
||||
#include "./core/_detail.hpp"
|
||||
@ -70,13 +72,6 @@ namespace virtrev{}
|
||||
#include "./core/func_noise.hpp"
|
||||
#include "./core/_swizzle.hpp"
|
||||
|
||||
namespace glm
|
||||
{
|
||||
using namespace core::type;
|
||||
using namespace core::type::precision;
|
||||
using namespace core::function;
|
||||
}//namespace glm
|
||||
|
||||
////////////////////
|
||||
// check type sizes
|
||||
#ifndef GLM_STATIC_ASSERT_NULL
|
||||
|
Loading…
x
Reference in New Issue
Block a user