#include "ientity.h"
#include "math/quaternion.h"
#include "generic/callback.h"
#include "stringio.h"
#include "angle.h"
Go to the source code of this file.
Data Structures | |
class | AnglesKey |
Defines | |
#define | INCLUDED_ANGLES_H |
Functions | |
void | default_angles (Vector3 &angles) |
void | normalise_angles (Vector3 &angles) |
void | read_angle (Vector3 &angles, const char *value) |
void | read_angles (Vector3 &angles, const char *value) |
void | write_angles (const Vector3 &angles, Entity *entity) |
Vector3 | angles_rotated (const Vector3 &angles, const Quaternion &rotation) |
Variables | |
const Vector3 | ANGLESKEY_IDENTITY = Vector3(0, 0, 0) |
Vector3 angles_rotated | ( | const Vector3 & | angles, | |
const Quaternion & | rotation | |||
) | [inline] |
void default_angles | ( | Vector3 & | angles | ) | [inline] |
Definition at line 35 of file angles.h.
Referenced by read_angle(), and read_angles().
void normalise_angles | ( | Vector3 & | angles | ) | [inline] |
Definition at line 39 of file angles.h.
References float_mod().
Referenced by read_angle(), and read_angles().
void read_angle | ( | Vector3 & | angles, | |
const char * | value | |||
) | [inline] |
Definition at line 45 of file angles.h.
References default_angles(), and normalise_angles().
void read_angles | ( | Vector3 & | angles, | |
const char * | value | |||
) | [inline] |
Definition at line 55 of file angles.h.
References default_angles(), and normalise_angles().
Referenced by AnglesKey::anglesChanged().
Definition at line 64 of file angles.h.
References Entity::setKeyValue().
Referenced by AnglesKey::write().
const Vector3 ANGLESKEY_IDENTITY = Vector3(0, 0, 0) |