27 static constexpr auto name =
"Position";
Game::EditorState.
Definition orientation.h:7
std::tuple< float, float, float > field_types
Definition position.h:40
static constexpr const char * field_typenames[num_fields]
Definition position.h:35
static constexpr auto name
Definition position.h:27
static constexpr auto fully_qualified_name
Definition position.h:28
static constexpr uint32_t fixed_column_index
This is the column that the entity position will reside in, in every table.
Definition position.h:48
static constexpr size_t num_fields
Definition position.h:29
static constexpr size_t field_byte_offsets[num_fields]
Definition position.h:41
static constexpr const char * field_names[num_fields]
Definition position.h:30
Position(Math::vec3 const &v)
Definition position.h:12
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