Work on fixing compile.

This commit is contained in:
Relintai 2023-01-09 01:18:34 +01:00
parent 6d0449cdac
commit 68a6826ee5
2 changed files with 4 additions and 4 deletions

View File

@ -36,7 +36,7 @@ const String FastNoise::BINDING_STRING_FRACTAL_TYPE = "FBM,Billow,Rigid Multi";
const String FastNoise::BINDING_STRING_CELLULAR_DISTANCE_FUNCTION = "Euclidean,Manhattan,Naural";
const String FastNoise::BINDING_STRING_CELLULAR_RETURN_TYPE = "Cell Value,Noise lookup,Distance,Distance 2,Distance 2 Add,Distance 2 Sub,Distance 2 Mul,Distance 2 Div";
FastNoise::FastNoise() : Reference() {
FastNoise::FastNoise() : RefCounted() {
}

View File

@ -4,7 +4,7 @@
#include "core/version.h"
#if VERSION_MAJOR > 3
#include "core/object/reference.h"
#include "core/object/ref_counted.h"
#include "core/string/ustring.h"
#else
#include "core/reference.h"
@ -23,8 +23,8 @@ typedef PackedInt64Array PoolIntArray;
typedef fastnoise::FastNoise _FastNoise;
class FastNoise : public Reference {
GDCLASS(FastNoise, Reference)
class FastNoise : public RefCounted {
GDCLASS(FastNoise, RefCounted)
public:
static const String BINDING_STRING_TYPE;