Cities: Skylines

Cities: Skylines

[DEPRECATED] Tree Anarchy 1.3.6
Quistar  [开发者] 2021 年 6 月 25 日 下午 3:31
Random Tree Rotation
I have re-implemented the random tree rotation by storing pre-calculated eular results in an array of quaternions. Then by using "SqrMagnitude" of position, which is a faster version of Magnitude to calculate an index in between 0~359 to fetch a static value for the rotation.
This prevents eular calculation overhead in rendering of trees, and should be just as fast as the original codes.

Random Tree Rotation by Bofomer and Tree Movement Control mods are incompatible now, due to the reason that I also patch TreeInstance::RenderInstance for each tree instances for resizing trees using Harmony transpilers. Harmony patch will override Detour patches.
最后由 Quistar 编辑于; 2021 年 7 月 18 日 下午 12:56
< >
正在显示第 1 - 2 条,共 2 条留言
bakepotatou 2022 年 11 月 13 日 下午 5:57 
how to use? does it do automaticaly
Quistar  [开发者] 2022 年 12 月 3 日 上午 5:35 
Yes its on by default
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50