5 Star 13 Fork 12

kuny/Multi-machine-Fusion

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
bezier_arithmetic.h 968 Bytes
一键复制 编辑 原始数据 按行查看 历史
kunyang 提交于 7年前 . First commit
#ifndef BEZIER_ARITHMETIC_H
#define BEZIER_ARITHMETIC_H
#include "type_define.h"
class bezier_arithmetic
{
public:
static QVector3D bezier_vertex(float uv, const QVector3D &p1, const QVector3D &p2);
static QVector2D bezier_coord(const QVector2D &min, const QVector2D &max,
const float j, const float i,
const float xpos, const float ypos);
static QVector3D bezier_point(const float u,const float v,
const array3Dtwo &ctrl_v);
static array3Dtwo bezier_mesh(int row, int col,
const QVector3D &ctrl_0,const QVector3D &ctrl_1,
const QVector3D &ctrl_2,const QVector3D &ctrl_3);
static arrayQuadsTwo bezier_mesh(int row,int col,
const QVector2D tex_min, const QVector2D tex_max,
const array3Dtwo &ctrl_v);
};
#endif // BEZIER_ARITHMETIC_H
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/kunyang_yt/Multi-machine-Fusion.git
git@gitee.com:kunyang_yt/Multi-machine-Fusion.git
kunyang_yt
Multi-machine-Fusion
Multi-machine-Fusion
master

搜索帮助