LayerFunctions


Project maintained by profezzorn Hosted on GitHub Pages — Theme by mattgraham

Usage 🔗

LayerFunctions<F1, F2, ...>

Arguments 🔗

Description 🔗

Returns (32768 - (32768 - F1) * (32768 * F2) / 32768) This is the same as 1-(1-F1)*(1-F2), but multiplied by 32768. Basically Mix<LayerFunctions<F1, F2>, A, B> is the same as Mix<F2, Mix<F1, A, B>, B>.

See Also 🔗

Mix

Source Link 🔗

https://github.com/profezzorn/ProffieOS/blob/6f8add544c627172ad2dd698c90e5e55078a420a/functions/layer_functions.h#L4