Files
ProgressivePhotonMapping-No…/.clang-format
T
2026-10-11 19:01:42 +03:00

30 lines
706 B
YAML

# Clang-Format configuration
BasedOnStyle: LLVM
# Opening braces on new line (Allman style)
BreakBeforeBraces: Allman
# This ensures:
# - Function opening braces on new line
# - Class opening braces on new line
# - Struct opening braces on new line
# - Control statements (if, while, for) opening braces on new line
IndentWidth: 4
TabWidth: 2
UseTab: Never
ColumnLimit: 100
# Namespace indentation
NamespaceIndentation: All
AlignAfterOpenBracket: true
# Additional formatting preferences
PointerAlignment: Left
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AllowShortFunctionsOnASingleLine: None
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false