projects
/
swarmPDK.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Blind fix for Pre bugs
[swarmPDK.git]
/
src
/
Pixel.h
1
#pragma once
2
#include <GLES/gl.h>
3
#include "SDL.h"
4
5
class Pixel
6
{
7
private:
8
Uint32 lastupdate;
9
public:
10
float x, y;
11
float vx, vy;
12
13
Pixel(SDL_Surface* screen);
14
~Pixel(void);
15
void accel(float x, float y);
16
void update();
17
void draw(GLfloat *);
18
};