From 66dcf910bd4744d8ced56cb9586aa937a1a2d4c5 Mon Sep 17 00:00:00 2001 From: vg Date: Tue, 7 Jul 2020 16:24:01 +0200 Subject: first commit --- cube_pc_test1/3d.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 cube_pc_test1/3d.h (limited to 'cube_pc_test1/3d.h') 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 -- cgit v1.2.3