4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; either version 2 of the License, or
7
* (at your option) any later version.
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software
16
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19
/**********************************************
21
* Copyright (C) 2001-2002 Bertrand 'blam' LAMY
22
**********************************************/
24
void P3_anim_coordsys_add_state (P3_anim_coordsys*, P3_coordsys*, float time);
25
void P3_anim_coordsys_delete_state (P3_anim_coordsys*, int index);
26
void P3_anim_coordsys_remove_state (P3_anim_coordsys*, float time);
27
P3_anim_coordsys* P3_anim_coordsys_new (P3_anim_coordsys*);
28
void P3_coordsys_set_state (P3_coordsys*, P3_anim_coordsys*, float prev_time, float new_time);
30
void P3_morph_data_free_data (P3_morph_data*);
31
//void P3_morph_data_init (P3_morph_data*);
33
P3_morph* P3_morph_instantiate (P3_morph*, P3_morph_data*);
34
void P3_morph_make_context (P3_morph*, P3_instance*);
35
void P3_morph_batch (P3_morph*, P3_instance*);
36
//void P3_morph_render (P3_morph*, P3_instance*);
37
void P3_morph_invalid (P3_morph*);
38
void P3_morph_compute (P3_morph*);
39
void P3_morph_raypick (P3_morph*, GLfloat* rdata, int option, GLfloat* result, GLfloat* norm, void** rcsys, P3_raypickable*);
40
int P3_morph_raypick_b (P3_morph*, GLfloat* rdata, int option, P3_raypickable*);
42
void P3_morph_mesh_render (P3_morph_mesh*, P3_morph*);
43
void P3_morph_mesh_batch (P3_morph_mesh*, P3_morph*);