ingowald / optix7course

Apache License 2.0
452 stars 80 forks source link

Correctly indent if in ex 02 device code #11

Closed jotaro-sama closed 3 years ago

jotaro-sama commented 3 years ago

As of now, the closing curly brace of an if statement inside the __raygen__renderFrame() function in the devicePrograms.cu file of the second example is indented two spaces less than it should be, making it look like the __raygen__renderFrame() function's losing curly brace at first sight. This commit indents it correctly such that its role is not misunderstood.

It's a very small thing but I hope it helps!

ingowald commented 3 years ago

Thank you! That happens when you mix emacs on linux, and VS on windows ;-)