- 1
- 0
Can someone translate this math to me in VB.Net or C#?
I tried like this in vb.net but it's pretty fucked up so...
Код:
Xwping: MyPosX = cos + 2 * (RotAngle + 1.48353)
Ywping: = MyPosY + sin 2 * (RotAngle + 1.48353)
Zwping: = + 0.2 MyPosZ
I tried like this in vb.net but it's pretty fucked up so...
Код:
Dim Xwping As Single = MyPosX + Math.Cos (2 * (RotAngle + 1.48353))
Dim Ywping As Single = MyPosY + Math.Sin (2 * (RotAngle + 1.48353))
Dim Zwping As Single = MyPosZ + 0.2