This website works better with JavaScript.
Home
Help
Sign In
lolengine
/
lol
mirror of
https://github.com/lolengine/lol
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
core: don't explicitly use std:: prefix when the platform may not
recognise it.
legacy
Sam Hocevar
sam
13 years ago
parent
e6c6f59327
commit
00625f76e9
2 changed files
with
4 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
src/matrix.h
+2
-1
src/numeric.h
+ 2
- 1
src/matrix.h
View File
@@ -113,7 +113,8 @@ namespace lol
\
inline float len() const \
{ \
return std::sqrtf((float)sqlen()); \
using namespace std; \
return sqrtf((float)sqlen()); \
}
template <typename T> struct Vec2;
+ 2
- 1
src/numeric.h
View File
@@ -26,7 +26,8 @@ namespace lol
/* Random float value */
static inline float RandF()
{
return (float)std::rand() / RAND_MAX;
using namespace std;
return (float)rand() / RAND_MAX;
}
static inline float RandF(float val)
Write
Preview
Loading…
Cancel
Save