摘要: 刚体 Rigidbody 控制游戏对象的物理行为 // 获取刚体属性 GetComponent<Rigidbody>(); 聚焦 双击、F键 窗口控制 ALT+鼠标左键 鼠标中键 鼠标右键 滑轮 点击方向键移动物体 E键调整角度 场景视野 透视视野、平行视野 世界坐标原点 小球设置0/0/0坐标 U 阅读全文
posted @ 2023-10-18 18:19 thomas_blog 阅读(12) 评论(0) 推荐(0) 编辑
摘要: **BMP图像格式有以下几种通道图像类型** 1位图像:每个像素使用1比特表示,图像只有黑白两种颜色(通常是黑色和白色)。每个像素的颜色信息存储在位图的颜色表中。 4位图像:每个像素使用4比特表示,图像可以有16种颜色。每个像素的颜色信息存储在位图的颜色表中。 8位图像:每个像素使用8比特表示,图像 阅读全文
posted @ 2023-08-26 22:12 thomas_blog 阅读(148) 评论(0) 推荐(0) 编辑
摘要: **访问无响应** 指定包 ``` @ComponentScan(basePackages = "com.example") ``` **浏览器访问跨域问题** 将所有请求全部放行 而且每个请求都要加 ``` @CrossOrigin(origins = "*") ``` **get返回html** 阅读全文
posted @ 2023-08-05 22:20 thomas_blog 阅读(3) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <any> void read1(std::any &data) { data = std::move("no"); } void read2(std::any &data) { data = std::move(std::string("y 阅读全文
posted @ 2023-04-20 17:50 thomas_blog 阅读(50) 评论(0) 推荐(0) 编辑
摘要: 报如下错误 arm_release_ver of this libmali is 'g6p0-01eac0', rk_so_ver is '7'. Cannot find EGLConfig, returning null config Unable to find an X11 visual wh 阅读全文
posted @ 2023-03-24 18:04 thomas_blog 阅读(1773) 评论(2) 推荐(0) 编辑
摘要: DockerHub docker commit -a "zxc" -m "mytest" 22924b70665e test:18.04 将容器 22924b70665e 保存为新的镜像,并添加提交人信息和说明信息 docker tag test:19.04 thomashub/test:18.04 阅读全文
posted @ 2023-03-21 17:39 thomas_blog 阅读(29) 评论(0) 推荐(0) 编辑
摘要: init int width = 256; int height = 256; std::uint16_t count = 8; _bmpHead.fileInfo.type[0] = 'B'; _bmpHead.fileInfo.type[1] = 'M'; _bmpHead.fileInfo.r 阅读全文
posted @ 2023-03-16 10:50 thomas_blog 阅读(22) 评论(0) 推荐(0) 编辑
摘要: #include <cstdio> #include <cstdlib> #include "jpeglib.h" int _imageWidth = 320; // 生成的图像宽度 int _imageHeight = 240; // 生成的图像高度 int _inputComponents = 阅读全文
posted @ 2023-03-13 17:39 thomas_blog 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 总共54字节 /** * bmp文件信息 */ #pragma pack(1) typedef struct { char type[2]; // 文件类型 unsigned int size; // 文件大小 unsigned short reserved1; // 保留, 必须为零 unsign 阅读全文
posted @ 2023-03-11 11:30 thomas_blog 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 架构图 源码 https://github.com/libuv/libuv.git 文档 http://docs.libuv.org/en/v1.x/ 编译 sudo apt-get install automake libtool sh autogen.sh ./configure -prefix 阅读全文
posted @ 2023-03-03 11:00 thomas_blog 阅读(22) 评论(0) 推荐(0) 编辑