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