~jtaylor/ubuntu/oneiric/soya/fix-780305

« back to all changes in this revision

Viewing changes to c_src/morph.h

  • Committer: Bazaar Package Importer
  • Author(s): Marc Dequènes (Duck)
  • Date: 2005-01-30 09:55:06 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 hoary)
  • Revision ID: james.westby@ubuntu.com-20050130095506-f21p6v6cgaobhn5j
Tags: 0.9.2-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * P3
3
 
 *
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.
8
 
 *
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.
13
 
 *
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
17
 
 */
18
 
 
19
 
/**********************************************
20
 
 * morph.h
21
 
 * Copyright (C) 2001-2002 Bertrand 'blam' LAMY
22
 
 **********************************************/
23
 
 
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);
29
 
 
30
 
void P3_morph_data_free_data (P3_morph_data*);
31
 
//void P3_morph_data_init      (P3_morph_data*);
32
 
 
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*);
41
 
 
42
 
void      P3_morph_mesh_render    (P3_morph_mesh*, P3_morph*);
43
 
void      P3_morph_mesh_batch     (P3_morph_mesh*, P3_morph*);