10 Commits

Author SHA1 Message Date
yvt
1a4594d9bd
Tracer: Replace Client * with Client & 2019-08-08 01:09:22 +09:00
yvt
ef2d844a97
clang-format all source files under Sources/Client 2019-08-07 23:51:05 +09:00
yvt
60fd3191c5
Remove Handle::operator T*(), discouraging conversion to raw pointers
It was replaced by `Handle::GetPointerOrNull()`. Every use of
`GetPointerOrNull` should be reviewed. Some of them were already removed.
2019-07-20 15:47:42 +09:00
yvt
e6227b3361
Update IRenderer for null safety and safe memory management 2019-07-20 13:48:49 +09:00
yvt
585cbfce1c Improve random number generation
The global RNG state is now protected from simultaneous accesses by
employing a mutex.

Performance sensitive code requiring generation of a large number of
random numbers can utilize `LocalRNG`. This is not thread-safe but
provides a much greater throughput. `LocalRNG` is seeded by the global
RNG only at construction time.
2018-09-17 23:48:38 +09:00
yvt
b4a3837578 Tracers for SWRenderer (temporary)
Fixes #229.
2017-02-20 03:55:27 +09:00
yvt
6d6e55b7f8 Change appearance of tracers 2017-01-09 03:45:37 +09:00
Tomoaki Kawada
2eb9e35c65 Apply clang-format to all non-external source files 2016-12-03 18:23:47 +09:00
yvt
ca88537a6b Created new renderer method which works like SetColor but only accepts an alpha pre-multiplied color value, deprecating the badly-behaved SetColor method 2013-12-09 01:00:09 +09:00
yvt
2ddc4bde8c added tracer 2013-08-30 22:23:05 +09:00