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
7class IRandom;
8class SimplexNoise;
9class Vec2;
10class Vec3;
11// clang-format on
12
14public:
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
22public:
23 // prevent constructor by default
24 PerlinSimplexNoise& operator=(PerlinSimplexNoise const&);
25
26public:
27 // member functions
28 // NOLINTBEGIN
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
52public:
53 // constructor thunks
54 // NOLINTBEGIN
55 MCAPI void* $ctor(::PerlinSimplexNoise const&);
56
57 MCAPI void* $ctor(uint seed, int levels);
58 // NOLINTEND
59
60public:
61 // destructor thunk
62 // NOLINTBEGIN
63 MCAPI void $dtor();
64 // NOLINTEND
65};
Definition IRandom.h:10
Definition PerlinSimplexNoise.h:13
Definition SimplexNoise.h:12
Definition Vec2.h:5
Definition Vec3.h:10
Definition buffer.h:5