Files
bullet3/examples
Tigran Gasparian b84eb8af74 Several fixes for the parallel raycasts
- Limits the maximum number of threads to 64, since btThreadSupportPosix
and btThreadsupportWin32 don't support more than 64 bits at this moment,
due to the use of UINT64 bitmasks. This could be fixed by using
std::bitset or some other alternative.
- Introduces a threadpool class, b3ThreadPool, which is a simple wrapper
around btThreadSupportInterface and uses this instead of the global task
scheduler for parallel raycasting. This is actually quite a bit faster
than the task scheduler (~10-15% in my tests for parallel raycasts),
since the advanced features (parallelFor) are not necessary for the
parallel raycasts.
- Puts 16*1024 of MAX_RAY_INTERSECTION_MAX_SIZE_STREAMING in
parentheses, since it otherwise causes problems with other operators
of equal precedence and introduces a smaller constant for Apple targets.
- Refactors the parallel raycasts code and adds some more profiling.
2018-06-19 18:41:42 +02:00
..
2018-02-20 21:09:31 -08:00
2018-03-05 23:05:22 +01:00
2017-03-13 11:00:56 -07:00
2016-03-10 21:15:23 -08:00
2018-06-12 17:00:16 -07:00
2017-06-02 17:40:50 -07:00
2018-02-24 14:57:49 -08:00
2018-03-05 23:05:22 +01:00
2017-11-26 20:38:50 -05:00