Etterna 0.74.4
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
CubicSplineN Struct Reference

Public Types

using spline_cont_t = std::vector< CubicSpline >
 

Public Member Functions

void solve ()
 
void evaluate (float t, std::vector< float > &v) const
 
void evaluate_derivative (float t, std::vector< float > &v) const
 
void evaluate_second_derivative (float t, std::vector< float > &v) const
 
void evaluate_third_derivative (float t, std::vector< float > &v) const
 
void evaluate (float t, RageVector3 &v) const
 
void evaluate_derivative (float t, RageVector3 &v) const
 
void set_point (size_t i, const std::vector< float > &v)
 
void set_coefficients (size_t i, const std::vector< float > &b, const std::vector< float > &c, const std::vector< float > &d)
 
void get_coefficients (size_t i, std::vector< float > &b, std::vector< float > &c, std::vector< float > &d)
 
void set_spatial_extent (size_t i, float extent)
 
auto get_spatial_extent (size_t i) -> float
 
void resize (size_t s)
 
auto size () const -> size_t
 
void redimension (size_t d)
 
auto dimension () const -> size_t
 
auto empty () const -> bool
 
auto get_max_t () const -> float
 
void set_loop (bool l)
 
auto get_loop () const -> bool
 
void set_polygonal (bool p)
 
auto get_polygonal () const -> bool
 
void set_dirty (bool d)
 
auto get_dirty () const -> bool
 
void PushSelf (lua_State *L)
 

Static Public Member Functions

static void weighted_average (CubicSplineN &out, const CubicSplineN &from, const CubicSplineN &to, float between)
 

Public Attributes

bool m_owned_by_actor { false }
 

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