twostraws / Inferno

Metal shaders for SwiftUI.
Other
2.47k stars 119 forks source link

Improved readability of comments. #31

Closed psalzAppDev closed 8 months ago

psalzAppDev commented 9 months ago

I fixed a few typos in the comments. I also improved the readability of some comments.

In Sources/Inferno/Shaders/Transition/Genie.metal, there was a typo in the function name which I fixed.

In Sources/Inferno/SwiftUI/Transitions.swift, the InfernoDistortionTransition name had several typos which I fixed.

The function descriptions of the Metal shaders could, in my opinion, have a better readability. I changed the documentation of Sources/Inferno/Shaders/Blur/VariableGaussianBlur.metal to my proposed style.

If you find this documentation style to be an improvement over the current one, I'll be happy to modify all the other documentation as well.

twostraws commented 8 months ago

Sorry for taking so long to review this – these changes are excellent, thank you!