aboutsummaryrefslogtreecommitdiffstats
path: root/instructables/cube_pc/3d.h
blob: 61beaca900720bae1ccdae9e4ebf8cd803422b5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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