Este site funciona melhor com JavaScript.
Página inicial
Ajuda
Acessar
lolengine
/
lol
espelhamento de
https://github.com/lolengine/lol
Observar
1
Favorito
0
Fork
0
Código
Issues
0
Versões
0
Wiki
Atividade
Ver código fonte
core: don't explicitly use std:: prefix when the platform may not
recognise it.
legacy
Sam Hocevar
sam
14 anos atrás
pai
e6c6f59327
commit
00625f76e9
2 arquivos alterados
com
4 adições
e
2 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+2
-1
src/matrix.h
+2
-1
src/numeric.h
+ 2
- 1
src/matrix.h
Ver arquivo
@@ -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
Ver arquivo
@@ -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)
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar