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&);
27
28public:
29 // member functions
30 // NOLINTBEGIN
31 MCAPI PerlinNoise(::PerlinNoise const&);
32
33 MCAPI PerlinNoise(uint seed, int levels, int minLevel);
34
35 MCAPI void _init(::IRandom& random, ::YBlendingBugSettings yBlendingSettings);
36
37 MCAPI void getRegion(float* buffer, ::Vec3 const& pos, int xSize, int ySize, int zSize, ::Vec3 const& scale) const;
38
39 MCAPI float getValue(::Vec3 const& pos) const;
40
41 MCAPI ~PerlinNoise();
42 // NOLINTEND
43
44public:
45 // constructor thunks
46 // NOLINTBEGIN
47 MCAPI void* $ctor(::PerlinNoise const&);
48
49 MCAPI void* $ctor(uint seed, int levels, int minLevel);
50 // NOLINTEND
51
52public:
53 // destructor thunk
54 // NOLINTBEGIN
55 MCAPI void $dtor();
56 // NOLINTEND
57};
Definition IRandom.h:13
Definition ImprovedNoise.h:9
Definition PerlinNoise.h:13
Definition Vec3.h:10
Definition YBlendingBugSettings.h:5
Definition buffer.h:5