"Normalizing" angle directions so they are workable relative to each other. Includes angle_difference and atan2fmod functions as examples.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#pragma once
|
|
#include <tuple>
|
|
|
|
class Block
|
|
{
|
|
public:
|
|
Block(){};
|
|
Block(int x, int y, int R, int B, int G);
|
|
void display(float CameraX, float CameraY, float Zoom);
|
|
private:
|
|
int X;
|
|
int Y;
|
|
std::tuple<int, int, int> color;
|
|
}; |