diff options
| author | erdgeist <> | 2003-05-13 12:05:12 +0000 |
|---|---|---|
| committer | erdgeist <> | 2003-05-13 12:05:12 +0000 |
| commit | 866f0ad8030ea2ceea22a4d61e6ff0006546c3fa (patch) | |
| tree | 54f3af1248bce246e1dd92b196b818271d21f2f6 /Vector.h | |
Here we go
Diffstat (limited to 'Vector.h')
| -rwxr-xr-x | Vector.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Vector.h b/Vector.h new file mode 100755 index 0000000..2d30615 --- /dev/null +++ b/Vector.h | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | /* Initialise Vector Engine | ||
| 2 | - points number of balls in each of 3 | ||
| 3 | dimensions ( MUST be > 1 ) | ||
| 4 | - borderlen length of Cubes borders | ||
| 5 | in pixels | ||
| 6 | */ | ||
| 7 | void Vector_init( int points, int borderlen ); | ||
| 8 | |||
| 9 | /* Deinitialise Vector Engine | ||
| 10 | */ | ||
| 11 | void Vector_destroy( void ); | ||
| 12 | |||
| 13 | /* Paints Cube with current parameters, | ||
| 14 | assumes gfx is already initialised | ||
| 15 | */ | ||
| 16 | void Vector_paint( void ); | ||
| 17 | |||
| 18 | /* Changes state of Cubes angles by mouse move | ||
| 19 | - dx,dy screen offset of mouse movement | ||
| 20 | */ | ||
| 21 | void Vector_move( signed int dx, signed int dy ); | ||
| 22 | |||
| 23 | /* Changes state of Cubes angles by direct angle offsets | ||
| 24 | - dx,dy,dz offsets for x,y- and z angles | ||
| 25 | */ | ||
| 26 | void Vector_angle( double dx, double dy, double dz ); | ||
| 27 | |||
| 28 | /* Resets state of Cubes angle to 0,0,0 | ||
| 29 | */ | ||
| 30 | void Vector_reset( void ); | ||
