gameEngine/gameEngine/Colliders/Edge.cpp
//update dir, assuming the edges points have moved
update dir, assuming the edges points have moved
update dir assuming the edges points have moved
void Edge::updateDir()
{
	glm::vec2 newDir = { point2Pos.x - point1Pos.x, point2Pos.y - point1Pos.y };
	dir = newDir;
}
void Edge :: updateDir ( ) { glm :: vec2 newDir = { point2Pos . x - point1Pos . x , point2Pos . y - point1Pos . y } ; dir = newDir ; }
update dir, assuming the edges points have moved
update dir assuming the edges points have moved