save code
This commit is contained in:
+3
-1
@@ -120,7 +120,7 @@ int main() {
|
||||
//init_arg.motion = motion;
|
||||
|
||||
|
||||
init_arg.action_fps = 20;
|
||||
init_arg.action_fps = 10;
|
||||
init_arg.zoom = 1.5f;
|
||||
|
||||
string json_str = json(init_arg).dump();
|
||||
@@ -142,6 +142,8 @@ int main() {
|
||||
|
||||
MotionList s_motions;
|
||||
s_motions.motions.push_back(motions["4"]);
|
||||
s_motions.motions.push_back(motions["11"]);
|
||||
s_motions.motions.push_back(motions["13"]);
|
||||
json j = s_motions;
|
||||
auto s = j.dump();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user