diff options
author | vg <vgm+dev@devys.org> | 2020-07-07 16:24:01 +0200 |
---|---|---|
committer | vg <vgm+dev@devys.org> | 2020-07-07 16:24:01 +0200 |
commit | 66dcf910bd4744d8ced56cb9586aa937a1a2d4c5 (patch) | |
tree | df4dca1ae4af1e5df0be0d1f4f2cd0d54751f8e8 /cube_pc_test1/3d.h | |
download | hic-master.tar.gz hic-master.tar.bz2 hic-master.zip |
Diffstat (limited to 'cube_pc_test1/3d.h')
-rw-r--r-- | cube_pc_test1/3d.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/cube_pc_test1/3d.h b/cube_pc_test1/3d.h new file mode 100644 index 0000000..61beaca --- /dev/null +++ b/cube_pc_test1/3d.h @@ -0,0 +1,16 @@ +#ifndef EFFECT3D_H +#define EFFECT3D_H + + +void effect_rotate_random_pixels (int iterations, int delay, int pixels); + +void linespin (int iterations, int delay); + +void ripples (int iterations, int delay); +float distance2d (float x1, float y1, float x2, float y2); +float distance3d (float x1, float y1, float z1, float x2, float y2, float z2); + + +//typedef struct {float x; float y; float z;} vertex; + +#endif |