angle.h File Reference

#include "ientity.h"
#include "math/quaternion.h"
#include "generic/callback.h"
#include "stringio.h"
Include dependency graph for angle.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  AngleKey

Defines

#define INCLUDED_ANGLE_H

Functions

void default_angle (float &angle)
void normalise_angle (float &angle)
void read_angle (float &angle, const std::string &value)
void write_angle (float angle, Entity *entity)
float angle_rotated (float angle, const Quaternion &rotation)

Variables

const float ANGLEKEY_IDENTITY = 0

Define Documentation

#define INCLUDED_ANGLE_H

Definition at line 23 of file angle.h.


Function Documentation

float angle_rotated ( float  angle,
const Quaternion rotation 
) [inline]

Definition at line 84 of file angle.h.

void default_angle ( float &  angle  )  [inline]

Definition at line 33 of file angle.h.

References ANGLEKEY_IDENTITY.

void normalise_angle ( float &  angle  )  [inline]

Definition at line 37 of file angle.h.

References float_mod().

Referenced by read_angle().

void read_angle ( float &  angle,
const std::string value 
) [inline]

Definition at line 41 of file angle.h.

References normalise_angle().

Referenced by AnglesKey::angleChanged(), and AngleKey::angleChanged().

void write_angle ( float  angle,
Entity entity 
) [inline]

Definition at line 49 of file angle.h.

References Entity::setKeyValue().

Referenced by AngleKey::write().


Variable Documentation

const float ANGLEKEY_IDENTITY = 0

Definition at line 31 of file angle.h.

Referenced by default_angle().


Generated by  doxygen 1.6.2