Added GUI draw cache
This commit is contained in:
parent
caaad67c42
commit
d709acb094
30 changed files with 547 additions and 246 deletions
|
|
@ -3,6 +3,10 @@
|
|||
#include <chrono>
|
||||
|
||||
namespace GUIStuff {
|
||||
SCollision::AABB<float> clay_bounding_box_to_aabb(const Clay_BoundingBox& bb) {
|
||||
return {{bb.x, bb.y}, {bb.x + bb.width, bb.y + bb.height}};
|
||||
}
|
||||
|
||||
SkFont get_setup_skfont() {
|
||||
SkFont font;
|
||||
font.setLinearMetrics(true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue