Far out stays steady: the grid's lines worked out from small numbers (its square's middle a whole number of kilometres from the world's, found in doubles; where on it from there), so far from the origin they no longer turn grainy and shake; the sun's shadow maps snap to their texels in doubles; packaging reads the version from project.json

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Nexoniarz 2026-10-21 17:41:25 +02:00
commit 1ee38c966c
8 changed files with 67 additions and 55 deletions

View file

@ -11,6 +11,7 @@ Signed with ~/.local/share/Nexoniarz/Fry3DX-signing/release.keystore (made the f
or the key in $FRY_KEYSTORE / $FRY_KEYSTORE_PASS. Keep it safe and keep using it: Android only
updates an app signed with the key it was installed with.
"""
import json
import os
import secrets
import shutil
@ -30,11 +31,8 @@ def run(*cmd, **kw):
def app_version():
with open(os.path.join(ROOT, "CMakeLists.txt")) as f:
for line in f:
if line.startswith("project(Fry3DX VERSION "):
return line.split()[2]
return "0"
with open(os.path.join(ROOT, "project.json")) as f: # (the version and the rest live there)
return json.load(f)["version"]
def main():