Antkeeper  0.0.1
Public Attributes | List of all members
ease_to_constraint Struct Reference

Eases toward a target entity. More...

#include <ease-to-constraint.hpp>

Public Attributes

entity::id target
 Target entity ID. More...
 
math::fvec3 start
 Start position. More...
 
float duration
 Total duration of the ease. More...
 
float t
 Elapsed time since ease began. More...
 
math::fvec3(* function )(const math::fvec3 &, const math::fvec3 &, float)
 Pointer to the interpolation function. More...
 

Detailed Description

Eases toward a target entity.

Definition at line 30 of file ease-to-constraint.hpp.

Member Data Documentation

◆ duration

float ease_to_constraint::duration

Total duration of the ease.

Definition at line 39 of file ease-to-constraint.hpp.

◆ function

math::fvec3(* ease_to_constraint::function) (const math::fvec3 &, const math::fvec3 &, float)

Pointer to the interpolation function.

Definition at line 45 of file ease-to-constraint.hpp.

◆ start

math::fvec3 ease_to_constraint::start

Start position.

Definition at line 36 of file ease-to-constraint.hpp.

◆ t

float ease_to_constraint::t

Elapsed time since ease began.

Definition at line 42 of file ease-to-constraint.hpp.

◆ target

entity::id ease_to_constraint::target

Target entity ID.

Definition at line 33 of file ease-to-constraint.hpp.


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