branchrust_reboot/main/jobify_ocean_simcancel
5 Commits over 0 Days - ∞cph!
fixed silly gc allocs coming from version Mathf.Min and Mathf.Max that take params arguments
re-use already calculated shore distance and terrain height values in water heigh calc
further improvements
- replaced managed simdata with native
- corrected flattened 3D array indexing
- adjusted baking output to write data in native layout (rebaked)
buoyancy cycle doesn't use transform autoSync and syncs once at the end
initial jobified ocean height queries
- ran directly from the main thread, scheduling would be slower here due to number of queries made in different locations
- using a flattened native copy of the ocean sim data that needs to replace the managed version