Toast Engine
Loading...
Searching...
No Matches
curve.hpp File Reference

Spline curve asset using tinyspline. More...

#include "core_types.hpp"
#include <glm/glm.hpp>
#include <tinysplinecxx.h>
Include dependency graph for curve.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  assets::Curve

Enumerations

enum class  assets::SplineType : uint8_t { linear , catmull_rom , bspline , bezier }
enum class  CurveDimension : uint8_t { d1 = 1 , d2 = 2 , d3 = 3 }

Detailed Description

Spline curve asset using tinyspline.

Author
Xein
Date
21 Jun 2026

Enumeration Type Documentation

◆ SplineType

enum class assets::SplineType : uint8_t
strong
Enumerator
linear 

linear

catmull_rom 

automatic tangents

bspline 

approximates central points

bezier 

bezier