|
PropWare
3.0.0.229
C++ objects and CMake build system for Parallax Propeller
|
35 for(
int x = 0;
x < 128;
x++)
37 y = 64 - (
x *
x / 32);
53 int x[points], y[points], vx[points], vy[points], ox[points], oy[points];
54 for(
int i = 0; i < points; i++)
56 x[i] = 5 + rand() % 100;
58 y[i] = 3 + rand() % 50;
60 vx[i] = 1 + rand() % 3;
61 vy[i] = 1 + rand() % 3;
66 for(
int i = 0; i < points; i++)
75 for(
int i = 0; i < points; i++)
79 point( ox[i], oy[i], 0);
84 for(
int i = 0; i < points; i++)
89 if (
x[i] >= 125 ||
x[i] <= 2) {
92 if (y[i] >= 62 || y[i] <= 2) {
#define OFF
OFF can be used in place of zero to enabled parameters in functions like drive_feedback and drive_tri...
#define ON
ON can be used in place of a nonzero value to enabled parameters in functions like drive_feedback and...