raysan5
8d81b6e4e4
Support shapes drawing using only QUADS
Also added new compilation FLAGS for that pourpose
7 years ago
Ahmad Fatoum
1841afad11
Refactor all #define SUPPORT_* into a config.h
That way, a user needs only to touch a single file to configure what
features raylib is built with.
Include guards are left out intentionally, because config.h should only
be included in source files, not headers.
Later on, config.h can also define the raylib version (#461 ).
7 years ago
Ray San
d1ef6869a9
Added function DrawRectangleLinesEx()
7 years ago
raysan5
0e48396369
Corrected issue with new functionality
Using default font texture as base white texture for rectangles reduces
draw calls considerably, actually, raygui can be drawn with a single
pass!
7 years ago
raysan5
e1baae0249
Removed function DrawRectangleT()
Functionality integrated in DrawRectangle() and selectable with config
flag USE_DEFAULT_FONT_TEXTURE
7 years ago
Ray San
00c34a035c
Updated copyright year
7 years ago
Ahmad Fatoum
107294f3e6
Fix bug, add some whitespace
7 years ago
Ahmad Fatoum
cd6d752217
Fix warning about unsequenced modification of variable
Variable t was read and modified without interleaving sequence points,
technically undefined behavior. Report by Clang's -Wunsequenced
7 years ago
Ray
4f9de9527f
Review gradient rectangle drawing
Added: DrawRectangleGradientV()
Added: DrawRectangleGradientH()
7 years ago
raysan5
12cb3afd9e
Added function DrawRectangleGradientEx()
Moved function DrawRectangleT() from text module to shapes
Added some comments
8 years ago
raysan5
eeca607506
Review transforms to match OpenGL 1.1
8 years ago
Ray
6546474fa4
Manual integration of material-pbr into develop
8 years ago
Ray
59652c75b4
Review some comments
8 years ago
raysan5
3813722f17
Added function: DrawLineBezier()
8 years ago
raysan5
59038bae96
Added function: DrawLineEx()
Supports line thickness
8 years ago
Ray
05cff44d0a
Improved modules description -IN PROGRESS-
Working in modules configuration flags...
8 years ago
Ray
177af272f0
Added function DrawRectanglePro()
8 years ago
raysan5
658c280669
Lattest PR review
Function names, code formatting...
8 years ago
Joel Davis
d5d391faaf
Added RaycastMesh function and example test case
8 years ago
Joel Davis
037da8879a
Added RaycastGround and ray picking example
8 years ago
Ray
377dcb025f
Corrected some warnings
8 years ago
raysan5
6d1b712a96
Reviewed modules comments
8 years ago
raysan5
673dcf9436
Comments tweaks
8 years ago
Ray
8f60996b64
Corrected some warnings
8 years ago
Ray
4c791100cc
Tweak int to float
8 years ago
Ray
2ae9ce29eb
Corrected issue on DrawPolyEx()
8 years ago
raysan5
7f0880a735
Review spacing formatting
raylib uses spaces between '+' and '-' signs but not between '*' and '/'
signs, it's a chosen convention
8 years ago
raysan5
a36cc7075a
Corrected issue on drawing order
9 years ago
Ray
9fdf4420d5
Corrected bugs on OpenGL 2.1
9 years ago
raysan5
68a02e567d
Avoid external variable whiteTexture
To get it, use GetDefaultTexture()
9 years ago
raysan5
d17a0cee1a
Review text formatting (spacing, tabs...)
9 years ago
raysan5
03cc031d00
Remove TODO comments (already done)
9 years ago
Ray
e2ba22ec59
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.
9 years ago
Ray
95c1bf9544
Removed previous change that introduced a bug
9 years ago
Ray
ee52b13ae6
Corrected bug on GetCollisionRec()
9 years ago
raysan5
1674465bdc
Adjust buffers usage
- Removed DrawQuad() function
- DrawBillboard() uses DrawBillboardRec()
- DrawPlane() uses RL_TRIANGLES
- DrawRectangleV() uses RL_TRIANGLES, that way, [shapes] module uses
only TRIANGLES buffers.
9 years ago
raysan5
9cbfcbb820
Add a note about an issue
9 years ago
raysan5
08da91047e
Some code tweaks
9 years ago
raysan5
3b45336929
Reviewed function: CheckCollisionCircleRec()
9 years ago
raysan5
7834a4e2fc
Replaced old mail by twitter user
10 years ago
raysan5
7db895ab5d
Corrected some bugs and warnings
10 years ago
raysan5
a632a04a30
Big batch of changes! Check description:
Support multiple texture formats (uncompressed and compressed)
Postprocessing shaders support
Model struct redefined and improved
Extended loading functions for Textures and Models
Simplified functions: DrawPlane(), DrawQuad()
Deleted functions: DrawPlaneEx(), DrawGizmoEx()
Now Text module only depends on Textures module
Shapes: Reviewed functions to low lines/triangles usage
Removed useless tabs and spaces around code
10 years ago
raysan5
905b6ec53d
Added full support for HTML5 (emscripten)
Corrected some bugs on the way...
Automatically convert textures to POT on RPI and WEB
10 years ago
raysan5
fc6081fe70
raylib 1.2
This is a huge update. Check CHANGELOG for details
11 years ago
raysan5
d2b98fbb5c
Removed useless spaces
11 years ago
raysan5
56a7979750
Corrected bugs...
Set default raylib to use OpenGL 1.1 (compatibility issues on ATI cards)
11 years ago
raysan5
ecb3c47704
Corrected bug with drawing order
We have three vertex buffers: lines, triangles and quads for textures.
Drawing in a desired order could become a nighmare... noww it seems it
works prety well...
11 years ago
raysan5
f06a15ac8b
raylib 1.1
View CHANGELOG for a detailed list of changes
11 years ago
raysan5
c04f37d0f5
Adapt multiple functions to rlgl
Nearly a complete rework of Models module
Some teaks on multiple functions
11 years ago
raysan5
96f520ff6d
Road to raylib 1.1 - Testing rlgl
11 years ago