mirror of
https://github.com/Relintai/godot_fastnoise.git
synced 2025-03-12 18:38:59 +01:00
Work on fixing compile.
This commit is contained in:
parent
6d0449cdac
commit
68a6826ee5
@ -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() {
|
||||
|
||||
}
|
||||
|
||||
|
6
noise.h
6
noise.h
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user