You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-18 14:21:41 +00:00
Use doubles for time in many other places
This commit is contained in:
@@ -80,7 +80,7 @@ protected:
|
||||
Map<RID, RID> render_target_descriptors;
|
||||
|
||||
double time;
|
||||
float delta;
|
||||
double delta;
|
||||
|
||||
static uint64_t frame;
|
||||
|
||||
@@ -100,7 +100,7 @@ public:
|
||||
void finalize();
|
||||
|
||||
_ALWAYS_INLINE_ uint64_t get_frame_number() const { return frame; }
|
||||
_ALWAYS_INLINE_ float get_frame_delta_time() const { return delta; }
|
||||
_ALWAYS_INLINE_ double get_frame_delta_time() const { return delta; }
|
||||
_ALWAYS_INLINE_ double get_total_time() const { return time; }
|
||||
|
||||
static Error is_viable() {
|
||||
|
||||
Reference in New Issue
Block a user