LeviLamina
Loading...
Searching...
No Matches
PerlinNoise.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class IRandom;
8class ImprovedNoise;
9class Vec3;
11// clang-format on
12
14public:
15 // member variables
16 // NOLINTBEGIN
17 ::ll::TypedStorage<4, 4, int const> mLevels;
18 ::ll::TypedStorage<8, 24, ::std::vector<::ImprovedNoise>> mNoiseLevels;
19 ::ll::TypedStorage<4, 4, float> mNormalizationFactor;
20 // NOLINTEND
21
22public:
23 // prevent constructor by default
24 PerlinNoise& operator=(PerlinNoise const&);
26
27public:
28 // member functions
29 // NOLINTBEGIN
30 MCAPI PerlinNoise(::PerlinNoise const&);
31
32 MCAPI PerlinNoise(uint seed, int levels);
33
34 MCAPI void _init(::IRandom& random, ::YBlendingBugSettings yBlendingSettings);
35
36 MCAPI void fillRegion(
37 float* buffer,
38 ::Vec3 const& pos,
39 int xSize,
40 int ySize,
41 int zSize,
42 ::Vec3 const& scale,
43 int xStep,
44 int yStep,
45 int zStep
46 ) const;
47
48 MCAPI float getValue(::Vec3 const& pos) const;
49
50 MCAPI ~PerlinNoise();
51 // NOLINTEND
52
53public:
54 // constructor thunks
55 // NOLINTBEGIN
56 MCAPI void* $ctor(::PerlinNoise const&);
57
58 MCAPI void* $ctor(uint seed, int levels);
59 // NOLINTEND
60
61public:
62 // destructor thunk
63 // NOLINTBEGIN
64 MCAPI void $dtor();
65 // NOLINTEND
66};
Definition IRandom.h:13
Definition ImprovedNoise.h:9
Definition PerlinNoise.h:13
Definition Vec3.h:10
Definition YBlendingBugSettings.h:5
Definition buffer.h:5