Improved 2D-3D drawing

Depth test disabled for 2D and only used on 3D; consequently LINES vs
TRIANGLES vs QUADS buffers drawing order maters... but blending also
works ok.
This commit is contained in:
Ray 2016-03-17 13:51:48 +01:00
parent 49df957058
commit e2ba22ec59
11 changed files with 93 additions and 35 deletions

View file

@ -77,7 +77,7 @@ int main()
End3dMode();
DrawText("Try selecting the box with mouse!", 240, 10, 20, GRAY);
DrawText("Try selecting the box with mouse!", 240, 10, 20, DARKGRAY);
if(collision) DrawText("BOX SELECTED", (screenWidth - MeasureText("BOX SELECTED", 30)) / 2, screenHeight * 0.1f, 30, GREEN);