📄 f16a1.ans
字号:
ANSVar {
int starttime; // variable to hold the animation started time
float currenttime; // must be defined in float to avoid overflow
int curyaw, angle;
}
ANSInit {
starttime = time; // set the start time
}
ANSCode {
currenttime = time - starttime; // get time difference
curyaw = currenttime * 2.048; // rotate yaw at 45 deg/sec
curyaw %= 16384;
if (curyaw > 8192) curyaw = 16384 - curyaw; // to make the wing rotate back
angle = curyaw - 4096;
DOFRotate[23] = angle;
DOFRotate[24] = angle;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -