摘要: #include <iostream> #include <string> #include <vector> #include <unordered_map> namespace dl { struct Params { std::unordered_map<std::string, std::s 阅读全文
posted @ 2021-11-05 03:22 xytpai 阅读(643) 评论(0) 推荐(0) 编辑
摘要: v5 import os import sys import re import time import paramiko import fabric import tarfile from tkinter import * from tkinter import messagebox from t 阅读全文
posted @ 2021-10-24 00:21 xytpai 阅读(50) 评论(0) 推荐(0) 编辑
摘要: pip install pygame download opengl-3.1.5 from https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyopengl pip install pyglm Example: import pygame from OpenG 阅读全文
posted @ 2021-10-14 00:42 xytpai 阅读(81) 评论(0) 推荐(0) 编辑
摘要: FEM 把物体分为多个基本图元,如四面体。 我们可以用四面体的顶点集合来表示这个物体。 1. FEM物理引擎工作流 Loop: 通过受力更新顶点速度 碰撞检测<先导顶点位置更新> 顶点位置更新 2. 顶点位置更新 为了达到更好的效果使用后向欧拉法, x表示位置,t表示时间,可以导出两个公式: 下时刻 阅读全文
posted @ 2021-08-08 18:49 xytpai 阅读(217) 评论(0) 推荐(0) 编辑
摘要: Pub-IP Server # git clone https://github.com.cnpmjs.org/fatedier/frp wget https://github.com/fatedier/frp/releases/download/v0.37.0/frp_0.37.0_linux_a 阅读全文
posted @ 2021-08-02 00:37 xytpai 阅读(138) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2021-07-24 13:37 xytpai 阅读(2) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash USE_CUDA=false WORK_SPACE=~/xyt/ install_packages() { echo -e " Install packages " sudo apt-get install git sudo apt-get install cmake sud 阅读全文
posted @ 2021-07-23 17:25 xytpai 阅读(342) 评论(0) 推荐(0) 编辑
摘要: 1. 文件命名 全部小写,用_区分 my_useful_class.cc 通常应尽量让文件名更加明确. http_server_logs.h 就比 logs.h 要好 内联函数必须放在 .h 文件中. 如果内联函数比较短, 就直接放在 .h 中. 2. 类型命名 类型名称的每个单词首字母均大写, 不 阅读全文
posted @ 2021-07-22 23:14 xytpai 阅读(337) 评论(0) 推荐(0) 编辑
摘要: #### vim ```txt 正常模式 (或者ctrl+[) 插入模式 正常模式下 + i 命令模式 正常模式下 + : 可视模式,正常模式下 + ctrl + v (或者正常模式下 + v) 屏幕锁定: ctrl+s 屏幕解锁: ctrl+q 撤销: 正常模式 u 恢复: 正常模式 ctrl + 阅读全文
posted @ 2021-07-13 00:09 xytpai 阅读(57) 评论(0) 推荐(0) 编辑
摘要: 会声会影 (视频剪辑+特效) 格式工厂 (视频转码+压缩上传) ADOBE全家桶 AE/PR (特效、视频剪辑) Audacity (音频剪辑) Altium Designer Maya(3维动画) 阅读全文
posted @ 2021-04-07 23:50 xytpai 阅读(42) 评论(0) 推荐(0) 编辑