summaryrefslogtreecommitdiff
path: root/Vector.h
blob: 2d306155734136f0bcf86a2ca31b63285d075b5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/* Initialise Vector Engine
   - points number of balls in each of 3
     dimensions ( MUST be > 1 )
   - borderlen length of Cubes borders
     in pixels
*/
void Vector_init( int points, int borderlen );

/* Deinitialise Vector Engine
*/
void Vector_destroy( void );

/* Paints Cube with current parameters,
   assumes gfx is already initialised
*/
void Vector_paint( void );

/* Changes state of Cubes angles by mouse move
   - dx,dy screen offset of mouse movement
*/
void Vector_move( signed int dx, signed int dy );

/* Changes state of Cubes angles by direct angle offsets
   - dx,dy,dz offsets for x,y- and z angles
*/
void Vector_angle( double dx, double dy, double dz );

/* Resets state of Cubes angle to 0,0,0
*/
void Vector_reset( void );