LibCapy - bnoise

B-Noise generator class.

Macros:

Dimensions of noise: 2D->1D

Enumerations:

None.

Typedefs:

Type of the order of a BNoise

Struct CapyBNoise :

Struct CapyBNoise's properties:

Inherits CapyNoise

Order of the noise

Dimension of the grid (square) in number of vertices

Cast to float of the dimension of the grid

Noise data

Struct CapyBNoise's methods:

Destructor

Functions:

Create a CapyBNoise

Input argument(s):

order: order of the noise
seed: seed of the noise

Output and side effect(s):

Return a CapyBNoise

Allocate memory for a new CapyBNoise and create it

Input argument(s):

order: order of the noise
seed: seed of the noise

Output and side effect(s):

Return a CapyBNoise

Exception(s):

May raise CapyExc_MallocFailed.

Free the memory used by a CapyBNoise* and reset '*that' to NULL

Input argument(s):

that: a pointer to the CapyBNoise to free

2023-03-26
in LibCapy,
12 views
Copyright 2021-2024 Baillehache Pascal