save code
This commit is contained in:
+5
-1
@@ -42,8 +42,10 @@ struct InitArg
|
||||
float g;
|
||||
float b;
|
||||
float radius;
|
||||
float offset_x;
|
||||
float offset_y;
|
||||
//Motion motion;
|
||||
NLOHMANN_DEFINE_TYPE_INTRUSIVE(InitArg, action_fps, zoom, r, g, b, radius);
|
||||
NLOHMANN_DEFINE_TYPE_INTRUSIVE(InitArg, action_fps, zoom, r, g, b, radius, offset_x, offset_y);
|
||||
};
|
||||
|
||||
|
||||
@@ -55,6 +57,8 @@ struct PushConstants {
|
||||
float radius = 240;
|
||||
float ux = 0;
|
||||
float uy = 0;
|
||||
float offset_x = 0;
|
||||
float offset_y = 0;
|
||||
};
|
||||
|
||||
using Callback = std::function<void()>;
|
||||
|
||||
Reference in New Issue
Block a user