XII Release 0.1.0
Loading...
Searching...
No Matches
xiiCurve1D::ControlPoint Struct Reference

Stores position and tangents to control spline interpolation. More...

#include <Curve1D.h>

Public Member Functions

 XII_DECLARE_POD_TYPE ()
 ControlPoint ()
 Copyright (c) Theophilus Eriata. All Rights Reserved.
XII_ALWAYS_INLINE bool operator< (const ControlPoint &rhs) const

Public Attributes

xiiVec2d m_Position
 The position (x,y) of the control point.
xiiVec2 m_LeftTangent
 The tangent for the curve segment to the left that affects the spline interpolation.
xiiVec2 m_RightTangent
 The tangent for the curve segment to the right that affects the spline interpolation.
xiiEnum< xiiCurveTangentMode > m_TangentModeLeft
xiiEnum< xiiCurveTangentMode > m_TangentModeRight
xiiUInt16 m_uiOriginalIndex

Detailed Description

Stores position and tangents to control spline interpolation.


The documentation for this struct was generated from the following files:
  • /home/runner/work/XII/XII/Source/Engine/Foundation/Tracks/Curve1D.h
  • /home/runner/work/XII/XII/Source/Engine/Foundation/Tracks/Implementation/Curve1D.cpp