Sam Hocevar
|
700520d4d6
|
math: move rand() to its own header, ensure it only returns
positive values, and add a unit test for rand<int>.
|
преди 12 години |
Sam Hocevar
|
9819425ba0
|
math: replace RandF() with a more generic rand() template function
that lets us draw integer random values too.
|
преди 12 години |
Sam Hocevar
|
bb28344eb7
|
build: fix compiler warnings and Linux and PS3 build issues.
|
преди 12 години |
Benjamin ‘Touky’ Huet
|
b273f1729e
|
Small fix in template lerp
|
преди 12 години |
Sam Hocevar
|
d6634da83f
|
build: fix the WTFPL site URL in all code comments.
|
преди 12 години |
Lolbot
|
23807ea88e
|
fixed 23 files out of 277:
- fixed 1270 CR characters
- fixed 56 trailing spaces
- fixed 5085 tabs
|
преди 12 години |
Benjamin ‘Touky’ Huet
|
2f85ae6d0a
|
|
преди 12 години |
Sam Hocevar
|
28728814cc
|
core: replace usage of sin() or std::sin() with lol::sin() where appropriate.
|
преди 12 години |
Sam Hocevar
|
00625f76e9
|
core: don't explicitly use std:: prefix when the platform may not
recognise it.
|
преди 14 години |
Sam Hocevar
|
3d4af0869a
|
ps3: start a minimal PS3 port using PSGL, but not CG yet.
|
преди 14 години |
Sam Hocevar
|
22b7a41c2e
|
core: fix include guard naming scheme.
|
преди 14 години |
Sam Hocevar
|
8848cf53db
|
Put everything in the "lol" namespace. Better late than never.
|
преди 14 години |
Sam Hocevar
|
885c48fcfb
|
Fix Linux build.
|
преди 14 години |
Sam Hocevar
|
0dfc497814
|
Add pseudorandom functions for floats.
|
преди 14 години |