当前位置:网站首页>UE4 用spline畫正圓
UE4 用spline畫正圓
2022-07-02 18:24:00 【道之所在】
已知變量: R: 圓的半徑
PointNum:點的數量(包含初始點)
StartPoint:第一個點的比特置
SingleArcLength:點與點之間的弧長
CreateCurrentPointIndex:正在創建的當前點的索引
1.先設置第一個點的比特置,因為以根組件為圓心,所以只設置X為R
2.計算出圓周長後,通過點的個數,計算出每個點之間的弧長
3.通過弧長和第一個點計算出需要創建點的比特置
4.直接套公式
效果:
運用的方程式:
x=√(a²+b²)·sin﹛[c/√(a²+b²)]-arcsin[a/√(a²+b²)]﹜
y=√(a²+b²)·cos﹛[c/√(a²+b²)]-arcsin[a/√(a²+b²)]﹜
點越多越正,一般點數量>=5時,圓就開始正了
边栏推荐
- Wechat applet video sharing platform system graduation design completion (8) graduation design thesis template
- 使用NPOI导出Excel文件
- Picking up the camera is the best artistic healing
- MySQL -- basic operation of database
- [Oracle final review] addition, deletion and modification of tablespaces, tables, constraints, indexes and views
- 初夏,开源魔改一个带击杀音效的电蚊拍!
- 巴比特 | 元宇宙每日必读:一千块就能买一个虚拟主播?这是小企业的直播福音还是在“割韭菜”?...
- Wechat nucleic acid detection appointment applet system graduation design completion (1) development outline
- Android cycle timer implementation, to achieve fixed Android cache cleaning
- 2020 Internet industry terminology
猜你喜欢

微信核酸检测预约小程序系统毕业设计毕设(5)任务书

In Linux, MySQL sets the job task to start automatically

又一所双非改考408,会爆冷么?南昌航空大学软件学院

QT official example: QT quick controls - Gallery

微信小程序视频分享平台系统毕业设计毕设(2)小程序功能

win10 kms activator

Wechat applet video sharing platform system graduation design (2) applet function

Wechat applet video sharing platform system graduation design completion (6) opening defense ppt

Esp32-c3 introductory tutorial question ⑩ - error: implicit declaration of function 'ESP_ blufi_ close‘;

A good programmer is worth five ordinary programmers!
随机推荐
Babbitt | metauniverse daily must read: can you buy a virtual anchor for 1000 yuan? Is this the live gospel of small businesses or "cutting leeks"
Tower safety monitoring system unattended inclination vibration monitoring system
ESP32-C3入门教程 问题篇⑩——error: implicit declaration of function ‘esp_blufi_close‘;
Picking up the camera is the best artistic healing
Intelligent hydropower meter energy consumption monitoring cloud platform
Use Zadig to build a continuous delivery platform from 0 to 1
Export Excel files using npoi
Vimium mapping key
ESP32-C3入门教程 问题篇⑪——esp-tls: create_ssl_handle failed, tls_io_instance->options.trusted_certs null
Explain kubernetes network model in detail
pycharm 修改 pep8 E501 line too long > 0 characters
Mysql - opérations de base de la base de données
win10 kms activator
Typescript
微信小程序视频分享平台系统毕业设计毕设(1)开发概要
NVIDIA graphics card failed to initialize nvml driver/library version mismatch error solution
微信核酸检测预约小程序系统毕业设计毕设(5)任务书
[Yugong series] July 2022 go teaching course 001 introduction to go language premise
RDK仿真实验
国金证券是国企吗?在国金证券开户资金安全吗?