sandbox
Loading...
Searching...
No Matches
spline.hpp File Reference

Generic time-based spline container for animation sampling. More...

#include <vector>
#include <algorithm>
#include <libsbx/utility/assert.hpp>
#include <libsbx/math/vector3.hpp>
#include <libsbx/math/quaternion.hpp>
#include <libsbx/math/constants.hpp>
#include <libsbx/core/engine.hpp>
#include <libsbx/animations/spline.ipp>

Go to the source code of this file.

Classes

class  sbx::animations::spline< Type >
 Time-ordered spline for interpolated animation values. More...
 

Namespaces

namespace  libsbx
 

Detailed Description

Generic time-based spline container for animation sampling.

This header defines a templated spline class used to store timestamped values and to sample interpolated values at arbitrary points in time.

The spline is designed for animation systems and supports generic value types, including scalars, vectors, and quaternions, provided that appropriate interpolation logic is available in the implementation.

Timestamps are stored in ascending order and paired with corresponding values. Sampling behavior outside the defined timestamp range is implementation-defined.

Author
KAJ