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