Cities: Skylines

Cities: Skylines

[DEPRECATED] Tree Anarchy 1.3.6
Quistar  [developer] 25 Jun, 2021 @ 3:31pm
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.
Last edited by Quistar; 18 Jul, 2021 @ 12:56pm
< >
Showing 1-2 of 2 comments
bakepotatou 13 Nov, 2022 @ 5:57pm 
how to use? does it do automaticaly
Quistar  [developer] 3 Dec, 2022 @ 5:35am 
Yes its on by default
< >
Showing 1-2 of 2 comments
Per page: 1530 50