LeviLamina
Loading...
Searching...
No Matches
PerlinSimplexNoise.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class IRandom;
8class SimplexNoise;
9// clang-format on
10
11class PerlinSimplexNoise {
12public:
13 // member variables
14 // NOLINTBEGIN
15 ::ll::TypedStorage<4, 4, int> mLevels;
16 ::ll::TypedStorage<8, 24, ::std::vector<::SimplexNoise>> mNoiseLevels;
17 ::ll::TypedStorage<4, 4, float> mNormalizationFactor;
18 // NOLINTEND
19
20public:
21 // prevent constructor by default
22 PerlinSimplexNoise();
23
24public:
25 // member functions
26 // NOLINTBEGIN
27 MCAPI PerlinSimplexNoise(uint seed, int levels);
28
29#ifdef LL_PLAT_C
30 MCAPI void _init(::IRandom& r, bool parityInitialization);
31#endif
32
33 MCAPI float getValue(float x, float y) const;
34
35 MCAPI ~PerlinSimplexNoise();
36 // NOLINTEND
37
38public:
39 // constructor thunks
40 // NOLINTBEGIN
41 MCAPI void* $ctor(uint seed, int levels);
42 // NOLINTEND
43
44public:
45 // destructor thunk
46 // NOLINTBEGIN
47 MCFOLD void $dtor();
48 // NOLINTEND
49};
Definition IRandom.h:10
Definition SimplexNoise.h:13