![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C++
文章平均质量分 67
伪善者
初闻不知曲中意,再听已是曲中人。。。
展开
-
UE5插件创建控件蓝图
UE5插件创建控件蓝图原创 2022-10-27 19:11:02 · 4763 阅读 · 2 评论 -
C++通过宏实现反射
C++通过宏实现反射原创 2022-07-13 16:29:31 · 740 阅读 · 0 评论 -
游戏场景offset坐标系关联正六边形cube坐标系
六边形网格:六边形转换成坐标系:六边形区域计算:原创 2020-10-17 04:20:31 · 1300 阅读 · 0 评论 -
C++生成随机数以及cout输出大数字
random.h#ifndef XY_RANDOM#define XY_RANDOMclass Random {public: Random(int = 0, int = 0);private: int seed;public: int random(int = 0, int = 100);};#endifrandom.cpp#include <ctime>#include <cmath>#include "random.h"Ra原创 2020-07-29 22:24:51 · 916 阅读 · 0 评论 -
python、C++对数,三角函数求值
python:import mathprint("ln(100)", math.log(100), sep=" = ")print("log2(256)", math.log(256, 2), sep=" = ", end="\n\n")print("sin(30°)", math.sin(math.radians(30)), sep=" = ")print("cos(60°)", math.cos(math.radians(60)), sep=" = ")print("tan(45°原创 2020-07-21 23:58:33 · 1239 阅读 · 0 评论 -
C++定义回调函数
目录结构:call.h#ifndef MY_CALL#define MY_CALLclass MYCALL {public: double callback(double(*)(double, double), double, double); template<typename T> double callback(T* ptr, double(T::* call)(double, double), double x, double y) { retu.原创 2020-05-20 23:44:44 · 933 阅读 · 0 评论 -
python调用C++程序
python调用C++程序Python / C APICFFI / ctypes原创 2020-05-13 22:30:59 · 1144 阅读 · 0 评论