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&);
26
27public:
28 // member functions
29 // NOLINTBEGIN
31
32 MCNAPI PerlinSimplexNoise(uint seed, int levels);
33
34 MCNAPI void _init(::IRandom& r, bool parityInitialization);
35
36 MCNAPI float* getRegion(
37 float* buffer,
38 ::Vec2 const& pos,
39 int xSize,
40 int ySize,
41 ::Vec2 const& scale,
42 float sizeScale,
43 float powScale
44 ) const;
45
46 MCNAPI float getValue(::Vec3 const& pos) const;
47
48 MCNAPI float getValue(float x, float y) const;
49
51 // NOLINTEND
52
53public:
54 // constructor thunks
55 // NOLINTBEGIN
56 MCNAPI void* $ctor(::PerlinSimplexNoise const&);
57
58 MCNAPI void* $ctor(uint seed, int levels);
59 // NOLINTEND
60
61public:
62 // destructor thunk
63 // NOLINTBEGIN
64 MCNAPI void $dtor();
65 // NOLINTEND
66};
Definition IRandom.h:10
Definition PerlinSimplexNoise.h:13
MCAPI void $dtor()
MCAPI PerlinSimplexNoise(uint seed, int levels)
MCAPI PerlinSimplexNoise(::PerlinSimplexNoise const &)
MCAPI float getValue(float x, float y) const
MCAPI ~PerlinSimplexNoise()
MCAPI float * getRegion(float *buffer, ::Vec2 const &pos, int xSize, int ySize, ::Vec2 const &scale, float sizeScale, float powScale) const
MCAPI void * $ctor(uint seed, int levels)
MCAPI void _init(::IRandom &r, bool parityInitialization)
MCAPI float getValue(::Vec3 const &pos) const
MCAPI void * $ctor(::PerlinSimplexNoise const &)
Definition SimplexNoise.h:14
Definition Vec2.h:5
Definition Vec3.h:10
Definition buffer.h:5