Update rshapes.c
This commit is contained in:
parent
dfabbd8ba8
commit
4239e66c55
1 changed files with 0 additions and 2 deletions
|
@ -178,7 +178,6 @@ void DrawLine(int startPosX, int startPosY, int endPosX, int endPosY, Color colo
|
||||||
{
|
{
|
||||||
rlBegin(RL_LINES);
|
rlBegin(RL_LINES);
|
||||||
rlColor4ub(color.r, color.g, color.b, color.a);
|
rlColor4ub(color.r, color.g, color.b, color.a);
|
||||||
// WARNING: Adding 0.5f offset to "center" point on selected pixel
|
|
||||||
rlVertex2f((float)startPosX, (float)startPosY);
|
rlVertex2f((float)startPosX, (float)startPosY);
|
||||||
rlVertex2f((float)endPosX, (float)endPosY);
|
rlVertex2f((float)endPosX, (float)endPosY);
|
||||||
rlEnd();
|
rlEnd();
|
||||||
|
@ -189,7 +188,6 @@ void DrawLineV(Vector2 startPos, Vector2 endPos, Color color)
|
||||||
{
|
{
|
||||||
rlBegin(RL_LINES);
|
rlBegin(RL_LINES);
|
||||||
rlColor4ub(color.r, color.g, color.b, color.a);
|
rlColor4ub(color.r, color.g, color.b, color.a);
|
||||||
// WARNING: Adding 0.5f offset to "center" point on selected pixel
|
|
||||||
rlVertex2f(startPos.x, startPos.y);
|
rlVertex2f(startPos.x, startPos.y);
|
||||||
rlVertex2f(endPos.x, endPos.y);
|
rlVertex2f(endPos.x, endPos.y);
|
||||||
rlEnd();
|
rlEnd();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue