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(L args)

Multiplies the vlaues of each layer

pow
double pow(L args)

Pows the vlaues of each layer

sub
double sub(L args)

Subtracts the vlaues of each layer

Parameters

D

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

Meta