mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 04:31:47 +00:00
Fixed doxygen warning
This commit is contained in:
parent
0cafee2f53
commit
921175612b
@ -407,7 +407,7 @@ void foo()
|
||||
\section faq7 Should I use 'using namespace glm;'?
|
||||
|
||||
This is unwise. Chances are that if 'using namespace glm;' is called, name collisions will happen.
|
||||
GLSL names for functions are fairly generic, so it is entirely likely that there is another function called, for example, \link glm::sqrt sqrt \endlink.
|
||||
GLSL names for functions are fairly generic, so it is entirely likely that there is another function called, for example, \link glm::sqrt() sqrt \endlink.
|
||||
|
||||
For frequent use of particular types, they can be brough into the global
|
||||
namespace with a 'using' declaration like this:
|
||||
|
Loading…
Reference in New Issue
Block a user