17 #include <core_ui/sim/box2d_widget.h> 18 #include <domains/unicycle/world.h> 24 SceneUi(unicycle::World* world) : world_(world) {}
27 void render(QPainter& painter,
const QRectF&)
override;
28 void mousePressEvent(
const QPointF& pos, QMouseEvent* event)
override;
31 unicycle::World* world_ =
nullptr;
Custom box2d scene rendering & input processing.
Definition: box2d_widget.h:27
Definition: sandbox_window.cpp:25