CombineLayers

Template holds functions for layer combination.

Members

Functions

add
double add(L args)

Adds the vlaues of each layer

generic
double generic(LayerCombineFunc f, A args)

Generic function to combine different noise layers.

mul
double mul(lazy L args)

Multiplies the vlaues of each layer

pow
double pow(lazy L args)

Pows the vlaues of each layer

sub
double sub(lazy L args)

Subtracts the vlaues of each layer

Parameters

D

number of dimensions. Must be 0 < D <= 4

Meta