Add scope
Replace component wise operations
Make variable const
Use Vec2f
Return early
Merge conditions
Merge conditions
Indentation