Skip to content
LeviMC
English
AutoLightDark
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 SimplexNoise;
8// clang-format on
9
10class PerlinSimplexNoise {
11public:
12 // member variables
13 // NOLINTBEGIN
14 ::ll::TypedStorage<4, 4, int> mLevels;
15 ::ll::TypedStorage<8, 24, ::std::vector<::SimplexNoise>> mNoiseLevels;
16 ::ll::TypedStorage<4, 4, float> mNormalizationFactor;
17 // NOLINTEND
18
19public:
20 // prevent constructor by default
21 PerlinSimplexNoise();
22
23public:
24 // member functions
25 // NOLINTBEGIN
26 MCAPI PerlinSimplexNoise(uint seed, int levels);
27
28 MCAPI float getValue(float x, float y) const;
29
30 MCAPI ~PerlinSimplexNoise();
31 // NOLINTEND
32
33public:
34 // constructor thunks
35 // NOLINTBEGIN
36 MCAPI void* $ctor(uint seed, int levels);
37 // NOLINTEND
38
39public:
40 // destructor thunk
41 // NOLINTBEGIN
42 MCFOLD void $dtor();
43 // NOLINTEND
44};
Definition SimplexNoise.h:13