36 static constexpr auto name =
"Position";
Game::EditorState.
Definition graphicsmanager.h:60
static constexpr bool field_hide_in_inspector[num_fields]
Definition position.h:60
std::tuple< float, float, float > field_types
Definition position.h:54
static constexpr const char * field_typenames[num_fields]
Definition position.h:44
static constexpr auto name
Definition position.h:36
static constexpr auto fully_qualified_name
Definition position.h:37
static constexpr const char * field_descriptions[num_fields]
Definition position.h:49
static constexpr uint32_t fixed_column_index
This is the column that the entity position will reside in, in every table.
Definition position.h:67
static constexpr size_t num_fields
Definition position.h:38
static constexpr size_t field_byte_offsets[num_fields]
Definition position.h:55
static constexpr const char * field_names[num_fields]
Definition position.h:39
A component that stores the position of an entity in world space coordinates.
Position(Math::vec3 const &v)
Definition position.h:21
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