Created
          August 25, 2015 01:08 
        
      - 
      
- 
        Save criswell/69c32e9801c6bb801795 to your computer and use it in GitHub Desktop. 
    Worst code I've ever written 
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | if (GameConfig.BKGEffectsEnabled && GameConfig.ParticleBKGEffects && | |
| gameTime.IsRunningSlowly ? | |
| timer_Diffraction > time_PerDiffractionDrawDelay : | |
| timer_Diffraction > time_PerDiffractionDrawNormal | |
| && diffractionFx.Enabled && diffractionFx.NumParticlesAlive > 0) | |
| { | |
| diffractionFx.PreDraw(gameTime); | |
| timer_Diffraction = 0; | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
Context here http://samhart.com/node/191