//上り45度
//線分の始点と終点を決める
line[0].x = gridPos.x;
line[0].y = gridPos.y;
line[1].x = gridPos.x + 1.0f;
line[1].y = gridPos.y + 1.0f;
//上り45度
//線分の始点と終点を決める
line[0].x = gridPos.x;
line[0].y = gridPos.y;
line[1].x = gridPos.x + 1.0f;
line[1].y = gridPos.y + 1.0f;