//main.h
#include <iostream>
#include <math.h>
#include <GL/glut.h>
const int WINDOW_WIDTH = 512;
const int WINDOW_HEIGHT = 512;
//球の速度
float vx[ 8 ];
float vy[ 8 ];
//球の中心の座標
float px[ 8 ];
float py[ 8 ];
//
const float dt = 0.01f;
int numSpheres = 2;
void setCamera( void );
void display( void );
void displayAxis( float length );
void displaySphere( float radius, float dr, float dg, float db, float sr, float sg, float sb, float shininess );
void keyboardFunction( unsigned char key, int x, int y );
void update( void );
Ly9tYWluLmgKI2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8bWF0aC5oPgojaW5jbHVkZSA8R0wvZ2x1dC5oPgoKY29uc3QgaW50IFdJTkRPV19XSURUSCA9IDUxMjsKY29uc3QgaW50IFdJTkRPV19IRUlHSFQgPSA1MTI7CgovL+eQg+OBrumAn+W6pgpmbG9hdCB2eFsgOCBdOwpmbG9hdCB2eVsgOCBdOwoKLy/nkIPjga7kuK3lv4Pjga7luqfmqJkKZmxvYXQgcHhbIDggXTsKZmxvYXQgcHlbIDggXTsKCi8vCmNvbnN0IGZsb2F0IGR0ID0gMC4wMWY7CgppbnQgbnVtU3BoZXJlcyA9IDI7Cgp2b2lkIHNldENhbWVyYSggdm9pZCApOwoKdm9pZCBkaXNwbGF5KCB2b2lkICk7Cgp2b2lkIGRpc3BsYXlBeGlzKCBmbG9hdCBsZW5ndGggKTsKCnZvaWQgZGlzcGxheVNwaGVyZSggZmxvYXQgcmFkaXVzLCBmbG9hdCBkciwgZmxvYXQgZGcsIGZsb2F0IGRiLCBmbG9hdCBzciwgZmxvYXQgc2csIGZsb2F0IHNiLCBmbG9hdCBzaGluaW5lc3MgKTsKCnZvaWQga2V5Ym9hcmRGdW5jdGlvbiggdW5zaWduZWQgY2hhciBrZXksIGludCB4LCBpbnQgeSApOwoKdm9pZCB1cGRhdGUoIHZvaWQgKTsK