# Line endings are normalised to LF in the repository (2026-07-31).
#
# This project is developed from a Mac and a Windows machine sharing one
# working tree. Without this, the Windows side rewrote every text file
# with CRLF and the Mac saw all of them as fully modified: 31 files and
# ~2900 lines flipping back and forth on each sync, with zero content
# difference. That buries real changes and makes any diff useless.
#
# `text=auto eol=lf` lets git detect text vs binary, stores text as LF,
# and checks it out as LF everywhere. Editors on Windows handle LF fine;
# if a tool there ever needs CRLF in the working copy, change eol=lf to
# eol=crlf for that pattern only — the repository stays LF either way.
* text=auto eol=lf

# Explicit text, so nothing here is ever guessed at
*.py     text eol=lf
*.glsl   text eol=lf
*.frag   text eol=lf
*.vert   text eol=lf
*.comp   text eol=lf
*.md     text eol=lf
*.toml   text eol=lf
*.json   text eol=lf
*.txt    text eol=lf
*.asc    text eol=lf

# Binary assets: never touched, never diffed as text. Several of these
# would be corrupted by newline translation.
*.blend  binary
*.png    binary
*.exr    binary
*.tiff   binary
*.tif    binary
*.jpg    binary
*.jpeg   binary
*.npy    binary
*.grib2  binary
*.zip    binary
*.ttf    binary
*.otf    binary
