Euphoria
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
eu::core::SCurve Struct Reference

Contains the parameters for an S-Curve. More...

Public Member Functions

constexpr SCurve ()=default
 
constexpr SCurve (float s, float t)
 

Static Public Member Functions

static constexpr SCurve light_curve ()
 

Public Attributes

float slope = 1.0f
 >=0
 
float threshold = 0.75f
 [0,1]
 

Detailed Description

Contains the parameters for an S-Curve.

Definition at line 14 of file scurve.h.

Constructor & Destructor Documentation

◆ SCurve() [1/2]

constexpr eu::core::SCurve::SCurve ( )
constexprdefault

◆ SCurve() [2/2]

constexpr eu::core::SCurve::SCurve ( float  s,
float  t 
)
inlineconstexpr

Definition at line 21 of file scurve.h.

Member Function Documentation

◆ light_curve()

static constexpr SCurve eu::core::SCurve::light_curve ( )
inlinestaticconstexpr

Definition at line 27 of file scurve.h.

Member Data Documentation

◆ slope

float eu::core::SCurve::slope = 1.0f

>=0

Definition at line 16 of file scurve.h.

◆ threshold

float eu::core::SCurve::threshold = 0.75f

[0,1]

Definition at line 17 of file scurve.h.


The documentation for this struct was generated from the following file: