ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


functions:rotatevector

Differences

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

Link to this comparison view

Next revision
Previous revision
functions:rotatevector [2017/03/17 18:01] – created korshunfunctions:rotatevector [2017/03/17 18:05] (current) – [RotateVector] korshun
Line 1: Line 1:
 ====== RotateVector ====== ====== RotateVector ======
 +{{tag>math vectors}}
 ''fixed, fixed RotateVector(fixed x, fixed y, angle angle)'' ''fixed, fixed RotateVector(fixed x, fixed y, angle angle)''
  
 [[:types|angle - a fixed-point]] [[zdoom>Definitions#Fixed_point_angles|ZDoom angle]] [[:types|(not degrees or radians)]] [[:types|angle - a fixed-point]] [[zdoom>Definitions#Fixed_point_angles|ZDoom angle]] [[:types|(not degrees or radians)]]
 +
 +[[:Multiple_return_values|This function returns multiple values.]]
  
 ===== Description ===== ===== Description =====
-Returns the vector rotated by angle.+Returns the 2D vector rotated by angle.
  
 ===== Examples ===== ===== Examples =====
functions/rotatevector.1489766473.txt.gz · Last modified: 2017/03/17 18:01 by korshun