ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


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
math [2019/08/26 21:25] – [Dot product] korshunmath [2019/08/26 21:26] (current) – [Length] korshun
Line 203: Line 203:
 ==== Length ==== ==== Length ====
  
-  * 2D: [[zdoom>VectorLength]] -- already provided by ZDoom.+  * 2D: [[zdoom>VectorLength]] -- already built into ZDoom.
   * 3D: ''fixed VectorLength3D(fixed x, fixed y, fixed Z)''   * 3D: ''fixed VectorLength3D(fixed x, fixed y, fixed Z)''
  
-''VectorLength3D'' is implemented efficiently as ''VectorLength(VectorLength(x, y), z)''.+These functions return the length of the input vector. ''VectorLength3D'' is implemented efficiently as ''VectorLength(VectorLength(x, y), z)''.
  
 ==== Dot product ==== ==== Dot product ====
math.1566843929.txt.gz · Last modified: 2019/08/26 21:25 by korshun