Namespaced VoxelStringNames
This commit is contained in:
parent
20c85e65a7
commit
59dd544ff3
@ -1,5 +1,7 @@
|
||||
#include "voxel_string_names.h"
|
||||
|
||||
namespace zylann::voxel {
|
||||
|
||||
VoxelStringNames *VoxelStringNames::g_singleton;
|
||||
|
||||
void VoxelStringNames::create_singleton() {
|
||||
@ -31,3 +33,5 @@ VoxelStringNames::VoxelStringNames() {
|
||||
u_block_local_transform = StaticCString::create("u_block_local_transform");
|
||||
u_lod_fade = StaticCString::create("u_lod_fade");
|
||||
}
|
||||
|
||||
} // namespace zylann::voxel
|
||||
|
@ -3,6 +3,8 @@
|
||||
|
||||
#include <core/string/string_name.h>
|
||||
|
||||
namespace zylann::voxel {
|
||||
|
||||
class VoxelStringNames {
|
||||
private:
|
||||
static VoxelStringNames *g_singleton;
|
||||
@ -35,4 +37,6 @@ public:
|
||||
StringName u_lod_fade;
|
||||
};
|
||||
|
||||
} // namespace zylann::voxel
|
||||
|
||||
#endif // VOXEL_STRING_NAMES_H
|
||||
|
Loading…
x
Reference in New Issue
Block a user