Oxygen Engine
Modern C++ 3D Engine using OpenGL
Loading...
Searching...
No Matches
oe::util::CurveSettings Struct Reference

Curve Advanced settings. More...

#include <OxygenEngine/util/curve.h>

Public Types

template<CurveValueConcept V, CurvePositionConcept T>
using PointType = CurvePoint< V, T >
 The class to use to represent a point on the curve.
 
template<typename Type >
using PointStorageType = std::vector< Type >
 The container to use to store points of the curve.
 

Detailed Description

Curve Advanced settings.

Use this to provide custom Point and / or Storage classes by filling CurveSettingsType Curve parameter

Member Typedef Documentation

◆ PointStorageType

template<typename Type >
using oe::util::CurveSettings::PointStorageType = std::vector<Type>

The container to use to store points of the curve.

The container must provide :

  • constant iterators cbegin() / cend()
  • Total elements via size()
  • acessing a random element via at()

◆ PointType

template<CurveValueConcept V, CurvePositionConcept T>
using oe::util::CurveSettings::PointType = CurvePoint<V, T>

The class to use to represent a point on the curve.

Must satisfy oe::util::CurvePointConcept


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