#include "ientity.h"
#include "math/matrix.h"
#include "generic/callback.h"
#include "stringio.h"
Go to the source code of this file.
Data Structures | |
class | OriginKey |
Defines | |
#define | INCLUDED_ORIGIN_H |
Functions | |
void | default_origin (Vector3 &origin) |
void | read_origin (Vector3 &origin, const std::string &value) |
void | write_origin (const Vector3 &origin, Entity *entity, const char *key) |
Vector3 | origin_translated (const Vector3 &origin, const Vector3 &translation) |
Vector3 | origin_snapped (const Vector3 &origin, float snap) |
Variables | |
const Vector3 | ORIGINKEY_IDENTITY = Vector3(0, 0, 0) |
void default_origin | ( | Vector3 & | origin | ) | [inline] |
Definition at line 33 of file origin.h.
Referenced by read_origin().
Definition at line 56 of file origin.h.
References vector3_snapped().
void read_origin | ( | Vector3 & | origin, | |
const std::string & | value | |||
) | [inline] |
Definition at line 37 of file origin.h.
References default_origin().
Referenced by OriginKey::originChanged().
Definition at line 43 of file origin.h.
References Entity::setKeyValue().
Referenced by OriginKey::write().
const Vector3 ORIGINKEY_IDENTITY = Vector3(0, 0, 0) |