46 static constexpr auto name =
"Velocity";
84 static constexpr auto name =
"AngularVelocity";
Game::EditorState.
Definition graphicsmanager.h:60
static constexpr size_t num_fields
Definition velocity.h:86
static constexpr auto name
Definition velocity.h:84
static constexpr size_t field_byte_offsets[num_fields]
Definition velocity.h:103
static constexpr const char * field_names[num_fields]
Definition velocity.h:87
static constexpr const char * field_descriptions[num_fields]
Definition velocity.h:97
static constexpr bool field_hide_in_inspector[num_fields]
Definition velocity.h:108
static constexpr const char * field_typenames[num_fields]
Definition velocity.h:92
std::tuple< float, float, float > field_types
Definition velocity.h:102
static constexpr auto fully_qualified_name
Definition velocity.h:85
AngularVelocity(Math::vec3 const &v)
Definition velocity.h:31
static constexpr bool field_hide_in_inspector[num_fields]
Definition velocity.h:70
static constexpr size_t num_fields
Definition velocity.h:48
static constexpr size_t field_byte_offsets[num_fields]
Definition velocity.h:65
static constexpr const char * field_names[num_fields]
Definition velocity.h:49
static constexpr auto fully_qualified_name
Definition velocity.h:47
static constexpr const char * field_descriptions[num_fields]
Definition velocity.h:59
static constexpr const char * field_typenames[num_fields]
Definition velocity.h:54
std::tuple< float, float, float > field_types
Definition velocity.h:64
static constexpr auto name
Definition velocity.h:46
A component that stores the linear velocity of an entity.
Velocity(Math::vec3 const &v)
Definition velocity.h:20
A 3D vector.
Definition vec3.h:40
float v[3]
Definition vec3.h:97
vec3()=default
default constructor, NOTE: does NOT setup components!
void load(const scalar *ptr)
load content from 16-byte-aligned memory
Definition vec3.h:162
float x
Definition vec3.h:94
float z
Definition vec3.h:94
float y
Definition vec3.h:94