当前位置:网站首页>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時,圓就開始正了
边栏推荐
- Enter a valid user name and password in the Microsoft LDAP configuration page, and enter a valid user name in the Microsoft LDAP configuration page
- 铁塔安全监测系统 无人值守倾角振动监测系统
- Win10 uninstall CUDA
- Paddlepaddle 28 build an automatic coder based on convolution
- 巴比特 | 元宇宙每日必读:一千块就能买一个虚拟主播?这是小企业的直播福音还是在“割韭菜”?...
- How to download wechat payment certificate (API certificate)
- ESP32-C3入门教程 问题篇⑩——error: implicit declaration of function ‘esp_blufi_close‘;
- Wechat nucleic acid detection appointment applet system graduation design completion (4) opening report
- Hbuilderx runs to the mobile phone or simulator and prompts that the device is not found
- Vi/vim delete: one line, one character, word, the first character of each line command
猜你喜欢

RDK simulation experiment

Microsoft LDAP 配置页中输入有效的用户名及密码,microsoft ldap 配置页中输入有效的用户名

Qt Official examples: Qt Quick Controls - Gallery

Wechat applet video sharing platform system graduation design (3) background function

能解决80%故障的排查思路

Customize a loading instruction

Enter a valid user name and password in the Microsoft LDAP configuration page, and enter a valid user name in the Microsoft LDAP configuration page

SteamOS 3.3 Beta 发布,Steam Deck 中文键盘终于来了

1288_ Implementation analysis of vtask resume() interface and interrupt Security version interface in FreeRTOS

微信小程序视频分享平台系统毕业设计毕设(1)开发概要
随机推荐
PHP gets the number of days, hours, minutes and seconds between the two timestamps
微信小程序视频分享平台系统毕业设计毕设(6)开题答辩PPT
Leetcode 面试题 16.11. 跳水板
MySQL advanced - transaction and index
Steamos 3.3 beta release, steam deck Chinese keyboard finally came
1288_ Implementation analysis of vtask resume() interface and interrupt Security version interface in FreeRTOS
Leetcode 面试题 16.15. 珠玑妙算
RTE11- 中断解耦功能
977. Square of ordered array
MySQL -- basic concept of database
C# 检测图片是否被旋转并修改到正真的旋转
2020互联网行业术语
王者荣耀商城异地多活架构设计
Hbuilderx runs to the mobile phone or simulator and prompts that the device is not found
Chrome 正式支持 MathML,默认在 Chromium Dev 105 中启用
wait_ for_ Gap -- restore archive from primary archive to secondary Archive
SteamOS 3.3 Beta 发布,Steam Deck 中文键盘终于来了
Aptos tutorial - participate in the official incentive testing network (ait2 incentive testing network)
人人工势场法
微信小程序视频分享平台系统毕业设计毕设(5)任务书