Michael Ragazzon
|
c802aeb21b
Use premultiplied alpha for vertex colors
|
2 vuotta sitten |
Michael Ragazzon
|
17f1d9583c
Math: Normalize angle to positive values only
|
2 vuotta sitten |
Michael Ragazzon
|
607a8ce60f
Rectangle: Add getters for all corners and math rounding procedure
|
2 vuotta sitten |
Michael Ragazzon
|
a9657acee7
Math cleanup, rename and remove some functions
|
2 vuotta sitten |
Michael Ragazzon
|
7492876298
The great formattening - format all library source code and documents
|
2 vuotta sitten |
Michael Ragazzon
|
6b8479720c
Make PI a header constant
|
3 vuotta sitten |
Michael Ragazzon
|
26dc55417a
Add integer log2 to math
|
3 vuotta sitten |
Michael Ragazzon
|
ee3655f1b0
Add Min/Max/Clamp for Vector2i
|
3 vuotta sitten |
Michael Ragazzon
|
83e3c5a374
Math: Add element-wise clamp for Vector2f
|
2 vuotta sitten |
Michael Ragazzon
|
4545e406e5
Math: Add component-wise absolute value for Vector2f
|
2 vuotta sitten |
Michael Ragazzon
|
1501315117
Math: Add method for float decomposition into fractional and integral parts
|
2 vuotta sitten |
Michael Ragazzon
|
13321f66fc
Add integer absolute value function to math
|
3 vuotta sitten |
Michael Ragazzon
|
221b43b8d6
Add Max and Min math functions for Vector2f
|
4 vuotta sitten |
jac8888
|
8b6a361c0c
Color blending fixes (#208)
|
4 vuotta sitten |
Michael Ragazzon
|
8bf0f6af2e
Layout engine: Avoid text wrapping due to float imprecision by rounding up available width.
|
4 vuotta sitten |
Michael Ragazzon
|
90e4c1a82b
Math: Add ExpandToPixelGrid
|
5 vuotta sitten |
Michael Ragazzon
|
a13e54cf1b
Math: Add SnapToPixelGrid
|
5 vuotta sitten |
Michael Ragazzon
|
e9844e3801
The big restructuring for RmlUi 4.0. This involves breaking changes but should benefit everyone using the library in the future.
|
5 vuotta sitten |
Michael Ragazzon
|
3e8980938b
Add additional operator precedence in data parser. Add more tests. Add format() and round() transform functions to data parser.
|
5 vuotta sitten |
Michael Ragazzon
|
8d7dbfa8c3
Trust the compiler
|
5 vuotta sitten |
Michael Ragazzon
|
6c53cbf85b
Remove #include "precompiled.h" from source files, CMake handles it instead. Include what we actually use in header and source files. For non-precompiled headers measurements indicate ~30% reduction in compile time. See #81.
|
5 vuotta sitten |
Michael Ragazzon
|
b4c4c48297
ResolveLength to ResolveNumericProperty, see #55. Angles now require units of deg or rad.
|
6 vuotta sitten |
Michael Ragazzon
|
eff01ba43a
The big rename. We are now RmlUi version 2.0!
|
6 vuotta sitten |
Michael Ragazzon
|
318f299fbe
Try fixing builds, deprecate Python support
|
6 vuotta sitten |
Michael
|
51efaa7569
Avoid jittering behavior of elements when using subpixel offsets, by no longer rounding dimensions in the layout engine. Translation and vertices that need sharpness (fonts and images) are rounded as late in the pipeline as possible.
|
7 vuotta sitten |
David Wimsey
|
5372e08aba
Fix some minor warnings which have no effect on code produced
|
11 vuotta sitten |
David Wimsey
|
4e1786a833
Updated source files and private headers to use relative paths to public headers. This prevents the compiler from pulling in an installed copy of libRocket headers rather than the source copy of the headers if libRocket happens to be installed on the system already.
|
11 vuotta sitten |
Tom Mason
|
1d6f721578
changed name of PI constant to ROCKET_PI, and removed unnecessary and unused variants
|
11 vuotta sitten |
Peter C
|
305ffa596c
I am an idiot, I had a mismatched ).
|
13 vuotta sitten |
Peter C
|
1d31eb926f
64 bit assembly is NOT the same as 32 bit, changing the Math.cpp file to account for that, otherwise build errors occur on Win64 because it assumes 32 bit platform.
|
13 vuotta sitten |