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