Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

sine_anim.h File Reference

Animate a float using the sine function. More...

#include <lescegra/sg/node.h>

Include dependency graph for sine_anim.h:

Include dependency graph

Go to the source code of this file.

Data Structures

struct  SineAnim
 Animate a float using the sine function. More...


Defines

#define LSG_SINE_ANIM_H   1
#define sine_anim_clean(self)   node_clean(&(self)->super)
#define sine_anim_display(self, frust)   node_display(&(self)->super, frust)
#define sine_anim_destroy(self)   node_destroy(&(self)->super)

Functions

SineAnimsine_anim_create (float *target, float omega, float phi, float amp, float offs)
void sine_anim_init (SineAnim *self, float *target, float omega, float phi, float amp, float offs)
void sine_anim_update (SineAnim *self, float time)


Detailed Description

Animate a float using the sine function.

Deprecated:
Can only update a single float value which leads to out-of-date bounding boxes when used on node members.

(c) 2003, by Enno Cramer
generated on 9 Jul 2003
lescegra - doxygen