FreeWRL / FreeX3D 4.3.0
SensInterps.h
1/*
2
3
4SensInterps ???
5
6*/
7
8/****************************************************************************
9 This file is part of the FreeWRL/FreeX3D Distribution.
10
11 Copyright 2009 CRC Canada. (http://www.crc.gc.ca)
12
13 FreeWRL/FreeX3D is free software: you can redistribute it and/or modify
14 it under the terms of the GNU Lesser Public License as published by
15 the Free Software Foundation, either version 3 of the License, or
16 (at your option) any later version.
17
18 FreeWRL/FreeX3D is distributed in the hope that it will be useful,
19 but WITHOUT ANY WARRANTY; without even the implied warranty of
20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 GNU General Public License for more details.
22
23 You should have received a copy of the GNU General Public License
24 along with FreeWRL/FreeX3D. If not, see <http://www.gnu.org/licenses/>.
25****************************************************************************/
26
27
28#ifndef __FREEWRL_SENS_INTERPS_H__
29#define __FREEWRL_SENS_INTERPS_H__
30
31
32#define ASLEN 500
33
34
35double return_Duration(struct X3D_AudioClip *);
36
37void
38do_active_inactive(int *act,
39 double *inittime,
40 double *startt,
41 double *stopt,
42 int loop,
43 double myDuration,
44 double speed,
45 double elapsedTime);
46
47int
48find_key(int kin, float frac, float *keys);
49
50void
51do_OintScalar(void *node);
52
53void
54do_OintCoord(void *node);
55void do_OintNormal(void *node);
56
57void do_OintCoord2D(void *node);
58void do_OintPos2D(void *node);
59void do_PositionInterpolator(void *node);
60void do_ColorInterpolator(void *node);
61void do_GeoPositionInterpolator(void *node);
62void do_Oint4(void *node);
63void do_EaseInEaseOut(void *node);
64void do_SplinePositionInterpolator(void *node);
65void do_SplinePositionInterpolator2D(void *node);
66void do_SplineScalarInterpolator(void *node);
67void do_SquadOrientationInterpolator(void *node);
68
69
70
71void do_CollisionTick(void *ptr);
72void do_AudioTick(void *ptr);
73void do_TimeSensorTick(void *ptr);
74void do_ProximitySensorTick(void *ptr);
75void do_GeoProximitySensorTick(void *ptr);
76void do_MovieTextureTick(void *ptr);
77void do_VisibilitySensorTick(void *ptr);
78void do_TransformSensorTick(void *ptr);
79void do_PickSensorTick(void *ptr);
80
81void do_Anchor( void *ptr, int typ, int but1, int over);
82void do_TouchSensor( void *ptr, int typ, int but1, int over);
83void do_GeoTouchSensor(void *ptr, int typ, int but1, int over);
84void do_PlaneSensor(void *ptr, int typ, int but1, int over);
85void do_LineSensor(void *ptr, int typ, int but1, int over);
86void do_PointSensor(void *ptr, int typ, int but1, int over);
87void do_CylinderSensor(void *ptr, int typ, int but1, int over);
88void do_SphereSensor(void *ptr, int typ, int but1, int over);
89
90/* DJTRACK_PICKSENSORS */
91void do_PickSensorTickDUMMY(void *ptr);
92
93#endif /* __FREEWRL_SENS_INTERPS_H__ */