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
7
class
IRandom
;
8
class
SimplexNoise
;
9
class
Vec2
;
10
class
Vec3
;
11
// clang-format on
12
13
class
PerlinSimplexNoise
{
14
public
:
15
// member variables
16
// NOLINTBEGIN
17
::ll::TypedStorage<4, 4, int> mLevels;
18
::ll::TypedStorage<8, 24, ::std::vector<::SimplexNoise>> mNoiseLevels;
19
::ll::TypedStorage<4, 4, float> mNormalizationFactor;
20
// NOLINTEND
21
22
public
:
23
// prevent constructor by default
24
PerlinSimplexNoise
& operator=(
PerlinSimplexNoise
const
&);
25
PerlinSimplexNoise
();
26
27
public
:
28
// member functions
29
// NOLINTBEGIN
30
MCAPI
PerlinSimplexNoise
(
::PerlinSimplexNoise
const
&);
31
32
MCAPI
PerlinSimplexNoise
(uint seed,
int
levels);
33
34
MCAPI
void
_init(
::IRandom
& r,
bool
parityInitialization);
35
36
MCAPI
float
* getRegion(
37
float
*
buffer
,
38
::Vec2
const
& pos,
39
int
xSize,
40
int
ySize,
41
::Vec2
const
& scale,
42
float
sizeScale,
43
float
powScale
44
)
const
;
45
46
MCAPI
float
getValue(
::Vec3
const
& pos)
const
;
47
48
MCAPI
float
getValue(
float
x,
float
y)
const
;
49
50
MCAPI
~PerlinSimplexNoise
();
51
// NOLINTEND
52
53
public
:
54
// constructor thunks
55
// NOLINTBEGIN
56
MCAPI
void
* $ctor(
::PerlinSimplexNoise
const
&);
57
58
MCAPI
void
* $ctor(uint seed,
int
levels);
59
// NOLINTEND
60
61
public
:
62
// destructor thunk
63
// NOLINTBEGIN
64
MCAPI
void
$dtor();
65
// NOLINTEND
66
};
IRandom
Definition
IRandom.h:13
PerlinSimplexNoise
Definition
PerlinSimplexNoise.h:13
SimplexNoise
Definition
SimplexNoise.h:14
Vec2
Definition
Vec2.h:5
Vec3
Definition
Vec3.h:10
buffer
Definition
buffer.h:5
src-server
mc
world
level
levelgen
synth
PerlinSimplexNoise.h
Generated on Sun Oct 12 2025 06:32:33 for LeviLamina by
1.12.0