1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-16 19:31:02 +01:00
Clementine-audio-player-Mac.../3rdparty/libprojectm/Renderer/PerPixelMesh.hpp

46 lines
532 B
C++
Raw Normal View History

2010-06-06 23:43:45 +02:00
#ifndef PerPixelMesh_HPP
#define PerPixelMesh_HPP
#include <vector>
struct Point
{
float x;
float y;
Point(float x, float y);
};
struct PerPixelContext
{
float x;
float y;
float rad;
float theta;
int i;
int j;
PerPixelContext(float x, float y, float rad, float theta, int i, int j);
};
class PerPixelMesh
{
public:
int width;
int height;
int size;
std::vector<Point> p;
std::vector<Point> p_original;
std::vector<PerPixelContext> identity;
PerPixelMesh(int width, int height);
void Reset();
};
#endif