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<4, 4, int const> mMinLevel;
19 ::ll::TypedStorage<8, 24, ::std::vector<::ImprovedNoise>> mNoiseLevels;
20 ::ll::TypedStorage<4, 4, float> mNormalizationFactor;
21 // NOLINTEND
22
23public:
24 // prevent constructor by default
25 PerlinNoise& operator=(PerlinNoise const&);
26
27public:
28 // member functions
29 // NOLINTBEGIN
30 MCAPI PerlinNoise(::PerlinNoise const&);
31
32 MCAPI PerlinNoise(uint seed, int levels, int minLevel);
33
34 MCAPI void _init(::IRandom& random, ::YBlendingBugSettings yBlendingSettings);
35
36 MCAPI void getRegion(float* buffer, ::Vec3 const& pos, int xSize, int ySize, int zSize, ::Vec3 const& scale) const;
37
38 MCAPI float getValue(::Vec3 const& pos) const;
39
40 MCAPI ~PerlinNoise();
41 // NOLINTEND
42
43public:
44 // constructor thunks
45 // NOLINTBEGIN
46 MCAPI void* $ctor(::PerlinNoise const&);
47
48 MCAPI void* $ctor(uint seed, int levels, int minLevel);
49 // NOLINTEND
50
51public:
52 // destructor thunk
53 // NOLINTBEGIN
54 MCAPI void $dtor();
55 // NOLINTEND
56};
Definition IRandom.h:10
Definition ImprovedNoise.h:11
Definition PerlinNoise.h:13
Definition Vec3.h:10
Definition YBlendingBugSettings.h:5
Definition buffer.h:5