Este sitio web funciona mejor con JavaScript.
Inicio
Ayuda
Iniciar sesión
lolengine
/
lol
réplica de
https://github.com/lolengine/lol
Seguir
1
Destacar
0
Fork
0
Código
Incidencias
0
Lanzamientos
0
Wiki
Actividad
Explorar el Código
core: don't explicitly use std:: prefix when the platform may not
recognise it.
legacy
Sam Hocevar
sam
hace 14 años
padre
e6c6f59327
commit
00625f76e9
Se han
modificado 2 ficheros
con
4 adiciones
y
2 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+2
-1
src/matrix.h
+2
-1
src/numeric.h
+ 2
- 1
src/matrix.h
Ver fichero
@@ -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 fichero
@@ -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)
Escribir
Vista previa
Cargando…
Cancelar
Guardar