angles.h File Reference

#include "ientity.h"
#include "math/quaternion.h"
#include "generic/callback.h"
#include "stringio.h"
#include "angle.h"
Include dependency graph for angles.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)

Define Documentation

#define INCLUDED_ANGLES_H

Definition at line 23 of file angles.h.


Function Documentation

Vector3 angles_rotated ( const Vector3 angles,
const Quaternion rotation 
) [inline]

Definition at line 80 of file angles.h.

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().

void write_angles ( const Vector3 angles,
Entity entity 
) [inline]

Definition at line 64 of file angles.h.

References Entity::setKeyValue().

Referenced by AnglesKey::write().


Variable Documentation

Definition at line 33 of file angles.h.


Generated by  doxygen 1.6.2