You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
New lightmapper
-Added LocalVector (needed it) -Added stb_rect_pack (It's pretty cool, we could probably use it for other stuff too) -Fixes and changes all around the place -Added library for 128 bits fixed point (required for Delaunay3D)
This commit is contained in:
@@ -53,8 +53,9 @@ protected:
|
||||
Map<RID, RID> render_target_descriptors;
|
||||
|
||||
double time;
|
||||
float delta;
|
||||
|
||||
static uint32_t frame;
|
||||
static uint64_t frame;
|
||||
|
||||
public:
|
||||
RasterizerStorage *get_storage() { return storage; }
|
||||
@@ -71,7 +72,8 @@ public:
|
||||
void end_frame(bool p_swap_buffers);
|
||||
void finalize();
|
||||
|
||||
static _ALWAYS_INLINE_ uint64_t get_frame_number() { return frame; }
|
||||
_ALWAYS_INLINE_ uint64_t get_frame_number() const { return frame; }
|
||||
_ALWAYS_INLINE_ float get_frame_delta_time() const { return delta; }
|
||||
|
||||
static Error is_viable() {
|
||||
return OK;
|
||||
@@ -89,6 +91,7 @@ public:
|
||||
|
||||
static ThreadWorkPool thread_work_pool;
|
||||
|
||||
static RasterizerRD *singleton;
|
||||
RasterizerRD();
|
||||
~RasterizerRD() {}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user