save code

This commit is contained in:
xsl
2025-10-26 00:13:08 +08:00
parent 41a659bd6d
commit b2da84f903
66 changed files with 24834 additions and 78 deletions
+27 -1
View File
@@ -1,10 +1,36 @@
#include "FaceApp.h"
int main() {
InitArg init_arg;
Motion motion;
motion.type = "底妆";
motion.technique = "基础上妆";
motion.step = "2按压";
motion.show_type = "方向";
motion.png_name = "pic";
motion.png_num = 3;
init_arg.motion = motion;
//motion.type = "底妆";
//motion.technique = "基础上妆";
//motion.step = "2按压";
//motion.show_type = "区域";
//motion.png_name = "pic";
//motion.png_num = 1;
//init_arg.motions.push_back(motion);
init_arg.action_fps = 3;
init_arg.zoom = 1.5f;
string json_str = json(init_arg).dump();
FaceApp app;
app.SetInitArg(json_str.c_str());
app.initVulkan();
try {
app.mainLoop();