OpenSiv3D  v0.6.5
C++20 framework for creative coding
Spline.hpp File Reference
#include "Common.hpp"
#include "detail/Spline.ipp"

Namespaces

 s3d
 
 s3d::Spline
 

Functions

template<class PointType >
constexpr PointType s3d::Spline::CalculateTangent (const PointType &p0, const PointType &p1, const PointType &p2, const double a=0.0, const double b=0.0) noexcept
 
template<class PointType >
constexpr PointType s3d::Spline::Hermite (const PointType &p0, const PointType &p1, const PointType &m0, const PointType &m1, const double t) noexcept
 
template<class PointType >
constexpr PointType s3d::Spline::CatmullRom (const PointType &p0, const PointType &p1, const PointType &p2, const PointType &p3, const double t) noexcept