ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


ru:math

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ru:math [2019/04/18 23:32] – [dot] korshunru:math [2019/04/18 23:33] (current) – [RotateVectorCS] korshun
Line 169: Line 169:
 ''fixed, fixed RotateVector(fixed x, fixed y, fixed angle)'' ''fixed, fixed RotateVector(fixed x, fixed y, fixed angle)''
      
-Rotates the vector by the angle and returns the result using [[multiple return values]].+Поворачивает вектор на указанный угол и возвращает результат, используя [[multiple return values|несколько возвращаемых значений]].
  
 === Example usage === === Example usage ===
Line 182: Line 182:
 ''fixed, fixed RotateVector(fixed x, fixed y, fixed cos, fixed sin)'' ''fixed, fixed RotateVector(fixed x, fixed y, fixed cos, fixed sin)''
  
-A faster version of RotateVector that accepts cos(angle) and sin(angle) instead of computing them.+Более быстрая версия ''RotateVector'', которая принимает косинус и синус угла вращения, вместо того, чтобы вычислять их.
  
 ==== RotatePoint ==== ==== RotatePoint ====
ru/math.1555619525.txt.gz · Last modified: 2019/04/18 23:32 by korshun