Michael Ragazzon
|
41209432e5
Math: Round half up, instead of away from zero
|
1 year ago |
Michael Ragazzon
|
14b06186b5
Fix various typos and in-source documentation
|
1 year ago |
Michael Ragazzon
|
ee31b5e7e0
Round clipping region by snapping rectangle instead of expanding
|
1 year ago |
Michael Ragazzon
|
c802aeb21b
Use premultiplied alpha for vertex colors
|
2 years ago |
Michael Ragazzon
|
17f1d9583c
Math: Normalize angle to positive values only
|
2 years ago |
Michael Ragazzon
|
607a8ce60f
Rectangle: Add getters for all corners and math rounding procedure
|
2 years ago |
Michael Ragazzon
|
a9657acee7
Math cleanup, rename and remove some functions
|
2 years ago |
Michael Ragazzon
|
7492876298
The great formattening - format all library source code and documents
|
2 years ago |
Michael Ragazzon
|
6b8479720c
Make PI a header constant
|
3 years ago |
Michael Ragazzon
|
26dc55417a
Add integer log2 to math
|
3 years ago |
Michael Ragazzon
|
ee3655f1b0
Add Min/Max/Clamp for Vector2i
|
3 years ago |
Michael Ragazzon
|
83e3c5a374
Math: Add element-wise clamp for Vector2f
|
2 years ago |
Michael Ragazzon
|
4545e406e5
Math: Add component-wise absolute value for Vector2f
|
2 years ago |
Michael Ragazzon
|
1501315117
Math: Add method for float decomposition into fractional and integral parts
|
2 years ago |
Michael Ragazzon
|
13321f66fc
Add integer absolute value function to math
|
3 years ago |
Michael Ragazzon
|
221b43b8d6
Add Max and Min math functions for Vector2f
|
4 years ago |
jac8888
|
8b6a361c0c
Color blending fixes (#208)
|
4 years ago |
Michael Ragazzon
|
8bf0f6af2e
Layout engine: Avoid text wrapping due to float imprecision by rounding up available width.
|
4 years ago |
Michael Ragazzon
|
90e4c1a82b
Math: Add ExpandToPixelGrid
|
5 years ago |
Michael Ragazzon
|
a13e54cf1b
Math: Add SnapToPixelGrid
|
5 years ago |
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 years ago |
Michael Ragazzon
|
3e8980938b
Add additional operator precedence in data parser. Add more tests. Add format() and round() transform functions to data parser.
|
5 years ago |
Michael Ragazzon
|
8d7dbfa8c3
Trust the compiler
|
5 years ago |
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 years ago |
Michael Ragazzon
|
b4c4c48297
ResolveLength to ResolveNumericProperty, see #55. Angles now require units of deg or rad.
|
6 years ago |
Michael Ragazzon
|
eff01ba43a
The big rename. We are now RmlUi version 2.0!
|
6 years ago |
Michael Ragazzon
|
318f299fbe
Try fixing builds, deprecate Python support
|
6 years ago |
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 years ago |
David Wimsey
|
5372e08aba
Fix some minor warnings which have no effect on code produced
|
11 years ago |
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 years ago |