Update TestView.cpp
This commit is contained in:
1 parent
40f8b7827d
commit
52c0cf1a4b
1 file changed
-1
@@ -323,7 +323,6 @@ void CTestView::DrawObject(CDC *pDC) //
|
|||||||
p[3].y = (R + r * cos(theta + delta)) * sin(phi);
|
p[3].y = (R + r * cos(theta + delta)) * sin(phi);
|
||||||
p[3].z = r * sin(theta + delta);
|
p[3].z = r * sin(theta + delta);
|
||||||
|
|
||||||
// ... 保持其余代码不变 ...
|
|
||||||
tran.SetMat(p, 4);
|
tran.SetMat(p, 4);
|
||||||
tran.RotateX(Alpha);
|
tran.RotateX(Alpha);
|
||||||
tran.RotateY(Beta);
|
tran.RotateY(Beta);
|
||||||
|
|||||||
Reference in new issue
Block a user