INNER CODE UNIT · Python

all_files

HyperionGameTech/HyperionEngine · Tools/Scripts/Misc/rename_files.py:17

    all_files = headers + sources

    for f in all_files:
        print(f)
        # if not 'descriptor_set' in f:
        #     continue

        base = os.path.basename(f)
        d = os.path.dirname(f)

        # if base[0].islower():

        #just add it anyway, if there are include changes we need this file in the list
        parts = base.split('_')
        upper_camel_case = ''

        for part in parts:
            upper_camel_case = upper_camel_case + (part[0].upper() + part[1:])

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…