scale.h File Reference

#include "ientity.h"
#include "math/matrix.h"
#include "generic/callback.h"
#include "stringio.h"
Include dependency graph for scale.h:

Go to the source code of this file.

Data Structures

class  ScaleKey

Defines

#define INCLUDED_SCALE_H

Functions

void default_scale (Vector3 &scale)
void read_scale (Vector3 &scalevec, const char *value)
void read_scalevec (Vector3 &scale, const char *value)
void write_scale (const Vector3 &scale, Entity *entity)
Vector3 scale_scaled (const Vector3 &scale, const Vector3 &scaling)

Variables

const Vector3 SCALEKEY_IDENTITY = Vector3(1, 1, 1)

Define Documentation

#define INCLUDED_SCALE_H

Definition at line 23 of file scale.h.


Function Documentation

void default_scale ( Vector3 scale  )  [inline]

Definition at line 33 of file scale.h.

Referenced by read_scale(), and read_scalevec().

void read_scale ( Vector3 scalevec,
const char *  value 
) [inline]

Definition at line 37 of file scale.h.

References default_scale(), and scale.

void read_scalevec ( Vector3 scale,
const char *  value 
) [inline]

Definition at line 46 of file scale.h.

References default_scale().

Referenced by ScaleKey::scaleChanged().

Vector3 scale_scaled ( const Vector3 scale,
const Vector3 scaling 
) [inline]

Definition at line 63 of file scale.h.

void write_scale ( const Vector3 scale,
Entity entity 
) [inline]

Definition at line 51 of file scale.h.

References Entity::setKeyValue().

Referenced by ScaleKey::write().


Variable Documentation

const Vector3 SCALEKEY_IDENTITY = Vector3(1, 1, 1)

Definition at line 31 of file scale.h.


Generated by  doxygen 1.6.2