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
26
public
:
27
// member functions
28
// NOLINTBEGIN
29
MCAPI
PerlinSimplexNoise
(
::PerlinSimplexNoise
const
&);
30
31
MCAPI
PerlinSimplexNoise
(uint seed,
int
levels);
32
33
MCAPI
void
_init(
::IRandom
& r,
bool
parityInitialization);
34
35
MCAPI
float
* getRegion(
36
float
*
buffer
,
37
::Vec2
const
& pos,
38
int
scale,
39
int
xSize,
40
::Vec2
const
& ySize,
41
float
sizeScale,
42
float
powScale
43
)
const
;
44
45
MCAPI
float
getValue(
::Vec3
const
& pos)
const
;
46
47
MCAPI
float
getValue(
float
x,
float
y)
const
;
48
49
MCAPI
~PerlinSimplexNoise
();
50
// NOLINTEND
51
52
public
:
53
// constructor thunks
54
// NOLINTBEGIN
55
MCAPI
void
* $ctor(
::PerlinSimplexNoise
const
&);
56
57
MCAPI
void
* $ctor(uint seed,
int
levels);
58
// NOLINTEND
59
60
public
:
61
// destructor thunk
62
// NOLINTBEGIN
63
MCAPI
void
$dtor();
64
// NOLINTEND
65
};
IRandom
Definition
IRandom.h:10
PerlinSimplexNoise
Definition
PerlinSimplexNoise.h:13
SimplexNoise
Definition
SimplexNoise.h:12
Vec2
Definition
Vec2.h:5
Vec3
Definition
Vec3.h:10
buffer
Definition
buffer.h:5
src
mc
world
level
levelgen
synth
PerlinSimplexNoise.h
Generated on Sat Apr 26 2025 05:56:28 for LeviLamina by
1.12.0