omau.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008 #ifndef INCLUDE_OMAPI__OMAU_OMAU_H
00009 #define INCLUDE_OMAPI__OMAU_OMAU_H
00010
00015 #include "oma.h"
00016
00019 typedef struct OMAUframe {
00020 OMAenum type;
00021 OMAuint index, vertex, texcoord, normal, color;
00022 } OMAUframe;
00023
00026 typedef struct OMAUobject {
00027 OMAuint frame, index, material;
00028 } OMAUobject;
00029
00032 typedef struct OMAUkeyframe {
00033 OMAuint frame, duration, material;
00034 OMAenum transition;
00035 } OMAUkeyframe;
00036
00037 #define OMAUAPI extern
00038 #define OMAUAPIENTRY
00039
00060 OMAUAPI void OMAUAPIENTRY omauInterpolatefv(OMAenum trans, OMAfloat weight, OMAsizei count, const OMAfloat *a, const OMAfloat *b, OMAfloat *c);
00061
00069 OMAUAPI void OMAUAPIENTRY omauInterpolate(OMAUframe *frame, OMAfloat index);
00070
00071 #endif