"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.
AngleNorming/Block.cpp

8 lines
131 B

#include "Block.h"
Block::Block(int x, int y, int R, int B, int G)
{
X = x;
Y = y;
color = std::make_tuple(R, G, B);
}