mirror of
https://github.com/Nexoniarz/Fry3DX.git
synced 2026-11-03 04:24:26 +00:00
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:
parent
ee56ed4005
commit
1ee38c966c
8 changed files with 67 additions and 55 deletions
|
|
@ -12,6 +12,7 @@
|
|||
Each unpacks to one Fry3DX/ folder: the program, its content (engine/, Fry3DX/; on a Mac inside
|
||||
the app), LICENSE and a README.txt. (The Android APK: android/build_apk.py.)
|
||||
"""
|
||||
import json
|
||||
import os
|
||||
import shutil
|
||||
import subprocess
|
||||
|
|
@ -36,11 +37,8 @@ Open source under the Apache License 2.0 (LICENSE). Sky pictures: Poly Haven, CC
|
|||
|
||||
|
||||
def 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"]
|
||||
|
||||
|
||||
PC_NEEDS = "a graphics card with Vulkan (or OpenGL 4.6)"
|
||||
|
|
|
|||
Loading…
Reference in a new issue