physics_mathematics_skills_for_game_development
physics_mathematics_skills_for_game_development copied to clipboard
《游戏开发的数学和物理》配套示例代码
Results
2
physics_mathematics_skills_for_game_development issues
Sort by
recently updated
recently updated
newest added
你好,我对第 1.5 章(P41)的 Box-Muller 算法存在以下疑问: https://github.com/AlloVince/physics_mathematics_skills_for_game_development/blob/4130a0a1d5fba4235293dc177c89c9b2bc9e166d/01_Movement/Source/Movement_5_2.cpp#L76 的 `( rand() + 1 ) / ( RAND_MAX + 1 )` 这里: 1. rand() 返回 [0, 1),RAND_MAX 为 1,那么得到结果就不是 [0, 1) 的随机数,而是 [0.5,...