macro temporal data work
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit

This commit is contained in:
austin 2025-05-30 17:33:58 -04:00
parent 7ce1ffa359
commit 6883e75874
2 changed files with 4 additions and 1 deletions

View File

@ -2083,6 +2083,7 @@ Don't allocate contact joints for geom-geom
Remove potential collision engine footgun Remove potential collision engine footgun
Synchronized time-of-day between server and client Synchronized time-of-day between server and client
Skybox reflects time of day Skybox reflects time of day
Standardize data sourcing in MacroTemporalData

View File

@ -1,5 +1,7 @@
package electrosphere.data.macro.temporal; package electrosphere.data.macro.temporal;
import electrosphere.engine.Main;
/** /**
* Temporal data associated with the macro data (ie calendar date, world age, etc) * Temporal data associated with the macro data (ie calendar date, world age, etc)
*/ */
@ -8,7 +10,7 @@ public class MacroTemporalData {
/** /**
* Amount of time per day * Amount of time per day
*/ */
public static final long TIME_PER_DAY = 60 * 60 * 1; public static final long TIME_PER_DAY = (long)Main.targetFrameRate * 60 * 30;
/** /**
* The noon remainder amount * The noon remainder amount