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

Springs to a target entity. More...

#include <spring-to-constraint.hpp>

Public Attributes

entity::id target
 Target entity ID. More...
 
physics::numeric_spring< math::fvec3, float > translation
 Translation spring. More...
 
physics::numeric_spring< math::fvec4, float > rotation
 Rotation spring. More...
 
bool spring_translation
 Spring translation. More...
 
bool spring_rotation
 Spring rotation. More...
 

Detailed Description

Springs to a target entity.

Definition at line 31 of file spring-to-constraint.hpp.

Member Data Documentation

◆ rotation

physics::numeric_spring<math::fvec4, float> spring_to_constraint::rotation

Rotation spring.

Definition at line 40 of file spring-to-constraint.hpp.

◆ spring_rotation

bool spring_to_constraint::spring_rotation

Spring rotation.

Definition at line 46 of file spring-to-constraint.hpp.

◆ spring_translation

bool spring_to_constraint::spring_translation

Spring translation.

Definition at line 43 of file spring-to-constraint.hpp.

◆ target

entity::id spring_to_constraint::target

Target entity ID.

Definition at line 34 of file spring-to-constraint.hpp.

◆ translation

physics::numeric_spring<math::fvec3, float> spring_to_constraint::translation

Translation spring.

Definition at line 37 of file spring-to-constraint.hpp.


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