Skip to content

Instantly share code, notes, and snippets.

@timcowlishaw
Created March 1, 2022 17:30
Show Gist options
  • Save timcowlishaw/448bcc528eba3482d0d1e9421a697f65 to your computer and use it in GitHub Desktop.
Save timcowlishaw/448bcc528eba3482d0d1e9421a697f65 to your computer and use it in GitHub Desktop.
Cenatus PHASE blog post snippet 12
let distanceModelParameters = PHASEGeometricSpreadingDistanceModelParameters()
distanceModelParameters.fadeOutParameters =
PHASEDistanceModelFadeOutParameters(cullDistance: cull_distance_for_this_source) // For you to specify...
distanceModelParameters.rolloffFactor = rolloff_factor_for_this_source // ... as is this.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment